Text to Image Generation with Semantic-Spatial Aware GAN in python

text2image

This repository includes the implementation for Text to Image Generation with Semantic-Spatial Aware GAN

This repo is not completely.

Network Structure

framework-2

The structure of the spatial-semantic aware convolutional network (SSACN) is shown as below

text2image

Requirements

  • python 3.6+
  • pytorch 1.0+
  • numpy
  • matplotlib
  • opencv

Or install full requirements by running:

pip install -r requirements.txt

TODO

  • [x] instruction to prepare dataset
  • [ ] remove all unnecessary files
  • [x] add link to download our pre-trained model
  • [ ] clean code including comments
  • [ ] instruction for training
  • [ ] instruction for evaluation

Prepare data

  1. Download the preprocessed metadata for birds coco and save them to data/
  2. Download the birds image data. Extract them to

     

     

     

    To finish reading, please visit source site