News for hackers. Stuff that matters.
Re:Turning web design mockups into code with Deep Learning by andegre on Wednesday January 10, 2018 @03:04PM (#16118494)
I know alot of you smart ones think this isn't that great, but I think this is incredible. I'd love to see someone host this someplace so I can just upload an image and see what it spits out.

I'm not smart enough to take the code and get it running...

Re:Turning web design mockups into code with Deep Learning by emilwallner on Wednesday January 10, 2018 @03:55PM (#16119001)
It's not rocket science, I think you can figure it out. To get started:

git clone https://github.com/emilwallner/Screenshot-to-code-in-Keras

pip install -U floyd-cli

(login to floydhub.com, a super simple platform for cloud GPUs)

cd Screenshot-to-code-in-Keras/floydhub

floyd init picturetocode

floyd run --gpu --env tensorflow-1.4 --data emilwallner/datasets/imagetocode/2:data --mode jupyter

Then, navigate to the folder floydhub/Bootstrap/test_model_accuracy.ipynb in your Jupyter Notebook and click on Cell > Run all

Now you can see the prediction and the correct markup for all the evaluation images. Ping me on twitter: @emilwallner, if you get stuck.

Re:Turning web design mockups into code with Deep Learning by andegre on Wednesday January 10, 2018 @04:06PM (#16119069)
Thank you sir, I'll try that out!