All Projects â†’ andrewsoohwanlee â†’ pix2code-pytorch

andrewsoohwanlee / pix2code-pytorch

Licence: MIT license
PyTorch implementation of pix2code. 🔥

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to pix2code-pytorch

Show Adapt And Tell
Code for "Show, Adapt and Tell: Adversarial Training of Cross-domain Image Captioner" in ICCV 2017
Stars: ✭ 146 (+508.33%)
Mutual labels:  image-captioning
Caption generator
A modular library built on top of Keras and TensorFlow to generate a caption in natural language for any input image.
Stars: ✭ 243 (+912.5%)
Mutual labels:  image-captioning
udacity-cvnd-projects
My solutions to the projects assigned for the Udacity Computer Vision Nanodegree
Stars: ✭ 36 (+50%)
Mutual labels:  image-captioning
Fairseq Image Captioning
Transformer-based image captioning extension for pytorch/fairseq
Stars: ✭ 180 (+650%)
Mutual labels:  image-captioning
Dataturks
ML data annotations made super easy for teams. Just upload data, add your team and build training/evaluation dataset in hours.
Stars: ✭ 200 (+733.33%)
Mutual labels:  image-captioning
Show Control And Tell
Show, Control and Tell: A Framework for Generating Controllable and Grounded Captions. CVPR 2019
Stars: ✭ 243 (+912.5%)
Mutual labels:  image-captioning
Image Caption Generator
A neural network to generate captions for an image using CNN and RNN with BEAM Search.
Stars: ✭ 126 (+425%)
Mutual labels:  image-captioning
LaBERT
A length-controllable and non-autoregressive image captioning model.
Stars: ✭ 50 (+108.33%)
Mutual labels:  image-captioning
Meshed Memory Transformer
Meshed-Memory Transformer for Image Captioning. CVPR 2020
Stars: ✭ 230 (+858.33%)
Mutual labels:  image-captioning
catr
Image Captioning Using Transformer
Stars: ✭ 206 (+758.33%)
Mutual labels:  image-captioning
Up Down Captioner
Automatic image captioning model based on Caffe, using features from bottom-up attention.
Stars: ✭ 195 (+712.5%)
Mutual labels:  image-captioning
Image To Image Search
A reverse image search engine powered by elastic search and tensorflow
Stars: ✭ 200 (+733.33%)
Mutual labels:  image-captioning
CS231n
CS231n Assignments Solutions - Spring 2020
Stars: ✭ 48 (+100%)
Mutual labels:  image-captioning
Image Captioning
Implementation of 'X-Linear Attention Networks for Image Captioning' [CVPR 2020]
Stars: ✭ 171 (+612.5%)
Mutual labels:  image-captioning
Udacity
This repo includes all the projects I have finished in the Udacity Nanodegree programs
Stars: ✭ 57 (+137.5%)
Mutual labels:  image-captioning
Image Caption Generator
[DEPRECATED] A Neural Network based generative model for captioning images using Tensorflow
Stars: ✭ 141 (+487.5%)
Mutual labels:  image-captioning
Aoanet
Code for paper "Attention on Attention for Image Captioning". ICCV 2019
Stars: ✭ 242 (+908.33%)
Mutual labels:  image-captioning
Show and Tell
Show and Tell : A Neural Image Caption Generator
Stars: ✭ 74 (+208.33%)
Mutual labels:  image-captioning
BUTD model
A pytorch implementation of "Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering" for image captioning.
Stars: ✭ 28 (+16.67%)
Mutual labels:  image-captioning
Image-Captioning-with-Beam-Search
Generating image captions using Xception Network and Beam Search in Keras
Stars: ✭ 18 (-25%)
Mutual labels:  image-captioning

pix2code (PyTorch)

This repo holds a basic PyTorch implementation of pix2code — a deep learning model that transforms GUI screenshots into code (in this case, a DSL based on Bootstrap).

Instructions

This isn't ready for general usage yet. However, look at pix2code (alpha).ipynb for the following:

  • Custom PyTorch dataloader (based on pix2code web dataset)
  • Encoder/Decoder models
  • Testing Code (includes finding BLEU values for multiple pretrained models)

I've also included pretrained weights after 100 and 1000 epochs of training.

Results

Early results have been generally successful in terms of BLEU scores, with our max at ~0.92 after 100 epochs of training (the model started generally overfitting to the training data after that point).

Epochs BLEU
100 0.924819024813575
200 0.8959682936793072
300 0.920018035108614
400 0.9033686688876422
500 0.9191831702256483
600 0.8876589013117365
700 0.9098200684974314
800 0.9164715424716915
900 0.919587909269687
1000 0.8644991775415475

— Andrew

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].