All Projects → floydhub → Pix2code Template

floydhub / Pix2code Template

Build a neural network to code a basic a HTML and CSS website based on a picture of a design mockup.

Projects that are alternatives of or similar to Pix2code Template

Drowsiness detection
Stars: ✭ 250 (+390.2%)
Mutual labels:  cv, jupyter-notebook
Lacmus
Lacmus is a cross-platform application that helps to find people who are lost in the forest using computer vision and neural networks.
Stars: ✭ 142 (+178.43%)
Mutual labels:  cv, jupyter-notebook
Awesome Pytorch List Cnversion
Awesome-pytorch-list 翻译工作进行中......
Stars: ✭ 1,361 (+2568.63%)
Mutual labels:  cv, jupyter-notebook
Dive Into Dl Tensorflow2.0
本项目将《动手学深度学习》(Dive into Deep Learning)原书中的MXNet实现改为TensorFlow 2.0实现,项目已得到李沐老师的认可
Stars: ✭ 3,380 (+6527.45%)
Mutual labels:  cv, jupyter-notebook
Stock Trading
『파이썬과 리액트를 활용한 주식 자동 시스템』 예제 코드
Stars: ✭ 51 (+0%)
Mutual labels:  jupyter-notebook
Siraj chatbot challenge
Entry for machine learning
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Scona
Code to analyse structural covariance brain networks using python.
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Juliatutorial
Julia Tutorial for Finance and Econometrics Students
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Workshops
DSSG Workshops
Stars: ✭ 51 (+0%)
Mutual labels:  jupyter-notebook
Gym Continuousdoubleauction
A custom MARL (multi-agent reinforcement learning) environment where multiple agents trade against one another (self-play) in a zero-sum continuous double auction. Ray [RLlib] is used for training.
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Pytorch Transfomer
My implementation of the transformer architecture from the Attention is All you need paper applied to time series.
Stars: ✭ 51 (+0%)
Mutual labels:  jupyter-notebook
Doubletdetection
Doublet detection in single-cell RNA-seq data.
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Bnlearn
Python package for learning the graphical structure of Bayesian networks, parameter learning, inference and sampling methods.
Stars: ✭ 51 (+0%)
Mutual labels:  jupyter-notebook
Sketchback
Keras implementation of sketch inversion using deep convolution neural networks (synthesising photo-realistic images from pencil sketches)
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Machine Learning Decal Spring 2019
A 2-unit decal run by [email protected]'s education team
Stars: ✭ 51 (+0%)
Mutual labels:  jupyter-notebook
How to generate images with tensorflow live
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Documents
Slides produced by Engineers and Data Scientists of Blue Yonder
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Machine Learning Asset Management
Machine Learning in Asset Management (by @firmai)
Stars: ✭ 1,060 (+1978.43%)
Mutual labels:  jupyter-notebook
Bigartm Book
Topic modeling with BigARTM: an interactive book
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook
Sgn 41007
Supplementary materials for course "Pattern Recognition and Machine Learning" at
Stars: ✭ 50 (-1.96%)
Mutual labels:  jupyter-notebook

Pix2Code

Within three years deep learning will change front-end development. It will increase prototyping speed and lower the barrier for building software. The field took off last year when Tony Beltramelli introduced the pix2code paper and Airbnb launched sketch2code. Currently, the largest barrier to automating front-end development is computing power. However, we can use current deep learning algorithms, along with synthesized training data, to start exploring artificial front-end automation right now!

Try it now

Run on FloydHub

Click this button to open a Workspace on FloydHub that will train this model.

Turning Design Mockups Into Code With Deep Learning

In this notebook, we’ll build a neural network to code a basic a HTML and CSS website based on a picture of a design mockup.

pix2code

Image from the Blog

We’ll use a dataset of generated bootstrap websites from the pix2code paper. By using Twitter’s bootstrap, we can combine HTML and CSS and decrease the size of the vocabulary.

Instead of training it on the bootstrap markup, we’ll use 17 simplified tokens that we then translate into HTML and CSS. The dataset includes 1500 test screenshots and 250 validation images. For each screenshot there are on average 65 tokens, resulting in 96925 training examples.

By tweaking the model in the pix2code paper, the model can predict the web components with 97% accuracy (BLEU 4-ngram greedy search).

We will:

  • Preprocess webpage images and the code related HTML for this mixed NLP-CV task
  • Build and train the pix2code model using Keras and Tensorflow
  • Evaluate our model on the test set
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].