Home

Awesome

SG-GAN

TensorFlow implementation of SG-GAN.

Prerequisites

Getting Started

Train

CUDA_VISIBLE_DEVICES=0 python main.py

Models are saved to ./checkpoints/ (can be changed by passing --checkpoint_dir=your_dir).

CUDA_VISIBLE_DEVICES=0 python main.py --continue_train 1

Test

CUDA_VISIBLE_DEVICES=0 python main.py --phase test --img_width 2048 --img_height 1024

Adapted test images will be outputted to ./test/ (can be changed by passing --test_dir=your_dir).

Reference