Home

Awesome

ARRPNGAN

Pytorch implementation for reproducing ARRPNGAN results in the paper "ARRPNGAN: Text-to-Image GAN with Attention Regularization and Region Proposal Networks" by Fengnan Quan, Bo Lang and Yanxi Liu. image

Installation

Requirements

pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI"

-others:

pip install -r requirements.txt

Train/Test

git clone https://github.com/QuanFN/ARRPNGAN.git
cd ARRPNGAN
./train_bird.sh
./test_bird.sh
./train_coco.sh
./test_coco.sh

Examples generated by ARRPNGAN

Example_bird

Example_coco

Citation

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