Lurker News

Comments (124) 33 threads

Earlier comments
gitgud1 reply#
Hi John, great idea but the demo didn't really convince me. How much of the system relies on engineers cleaning up the code?

And I can't get past the fact that it becomes a responsive site, is the logic in the responsive design in the Sketch file too?

johndamaia1 reply#
Hey! No worries, I'm starting to like the skepticism, it makes the job funnier. Right now we are doing it right ~90% of the whole page. The responsiveness is done by the system automatically (it makes decisions on its own, therefore they could be wrong). No need to have it on the Sketch file.
gitgud#
I guess when you present magic, people get skeptical ;)

But seriously, I hope you guys do well, thanks for responding to all these skeptical comments

xcubic1 reply#
Hey john. Congrats on this, this is very interesting. From someone interested in ML/AI, can you explain just a bit more how the deep learning works?
johndamaia2 replies#
Without going into detail, our model outputs the coordinates of the html elements it recognize. We are taking a visual approach to the problem.
attilakun#
Did you use a recurrent neural network? And/or reinforcement learning?
xcubic#
I imagine you do some kind of image recognition on the sketch files and then do the code generation.
miguelrochefort#
I once built a tool that generates XAML from Sketch files and Zeplin projects.

I can now see how AI would have made my job easier.

bkyan1 reply#
I'm curious how you are handling ambiguity in the original design. Does the algorithm create multiple variants when something could be interpreted in multiple ways, and then the manual validation part of the process involves picking from among the different variants that the algorithm created?
johndamaia#
It's simpler than that. The model makes only one choice based on what it learnt. However you gave an excellent idea :)

Load more comments