Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 1.93 KB

File metadata and controls

58 lines (40 loc) · 1.93 KB

Text-to-Image Synthesis with Shape and Background Disentanglement (Pytorch implementation)

Dependencies

  • Python 3
  • Pytorch
  • Anaconda 3.6
  • Tensorflow 1.4.1 (for evaluation only)

Data

Download preprocessed data in /Data.

  • Download birds to Data/birds

Training

  • sh train_birds.sh

Monitor your training with tensorboardX

  • tensorboard --logdir models/

Testing

  • sh test_birds.sh

Evaluation

Evaluation needs the sampled results obtained in Testing and saved in ./Results.

Inception score

  • Download inception models to the evaluation/inception_score/inception_finetuned_models folder than run sh compute_scores.sh.