Skip to content

xueqinxiang/DMF-GAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DMF-GAN

License CC BY-NC-SA 4.0 Python 3.8 Packagist Ask Me Anything !

DMF-GAN: Deep Multimodal Fusion Generative Adversarial Networks for Text-to-Image Synthesis

Official Pytorch implementation for our paper [DMF-GAN: Deep Multimodal Fusion Generative Adversarial Networks for Text-to-Image Synthesis]


Requirements

  • python 3.8
  • Pytorch 1.9
  • At least 1x24GB NVIDIA GPU

Installation

Clone this repo.

git clone https://github.com/tobran/DMF-GAN
pip install -r requirements.txt
cd DMF-GAN/code/

Preparation

Datasets

  1. Download the preprocessed metadata for birds coco and extract them to data/
  2. Download the birds image data. Extract them to data/birds/
  3. Download coco2014 dataset and extract the images to data/coco/images/

Training

cd DF-GAN/code/

Train the DF-GAN model

For bird dataset: python main.py --cfg cfg/bird.yml

For coco dataset: python main.py --cfg cfg/coco.yml

The code is released for academic research use only. For commercial use, please contact Xueqin Xiang.

Reference

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages