Skip to content

qiaott/MirrorGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
qiaott
Jul 22, 2019
deb220f · Jul 22, 2019

History

8 Commits
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 22, 2019
Jul 22, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019
Jul 21, 2019

Repository files navigation

MirrorGAN

Pytorch implementation for Paper MirrorGAN: Learning Text-to-image Generation by Redescription by Tingting Qiao, Jing Zhang, Duanqing Xu, Dacheng Tao. (The work was performed when Tingting Qiao was a visiting student at UBTECH Sydney AI Centre in the School of Computer Science, FEIT, the University of Sydney).

image

Getting Started

Installation

  • Install PyTorch and dependencies from http://pytorch.org

  • Install Torch vision from the source.

  • Clone this repo:

git clone https://github.com/qiaott/MirrorGAN.git
cd MirrorGAN
  • Download our preprocessed data from here.

  • The STEM was pretrained using the code provided here

  • The STREAM was pretrained using the code provided here.

Train/Test

After obtaining the pretrained STEM and STREAM modules, we can train the text2image model.

  • Train a model:
./do_train.sh
  • Test a model:
./do_test.sh

Citation

If you use this code for your research, please cite our paper.

@article{qiao2019mirrorgan,
  title={MirrorGAN: Learning Text-to-image Generation by Redescription},
  author={Qiao, Tingting and Zhang, Jing and Xu, Duanqing and Tao, Dacheng},
  journal={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
  year={2019}
}

About

Pytorch implementation of MirrorGAN

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published