zsdonghao / im2txt2im

I2T2I: Text-to-Image Synthesis with textual data augmentation
https://github.com/zsdonghao/tensorlayer
30 stars 3 forks source link
image-to-text tensorflow tensorlayer text-to-image

Image Captioning and Text-to-Image Synthesis with textual data augmentation

This code run well under python2.7 and TensorFlow 0.11, if you use higher version of TensorFlow you may need to update the tensorlayer folder from TensorLayer Lib.

Usage

1. Prepare MSCOCO data and Inception model

2. Train image captioning model

3. Setup your paths

4. Train text-to-image synthesis with image captioning

Results

1. Here are some results on MSCOCO

2. Transfer learning on MHP dataset

Citation

@article{hao2017im2txt2im,
  title={I2T2I: LEARNING TEXT TO IMAGE SYNTHESIS WITH TEXTUAL DATA AUGMENTATION},
  author={Hao Dong, Jingqing Zhang, Douglas McIlwraith, Yike Guo},
  journal={ICIP},
  year={2017}
}