Contest4
StackGAN++ implemented by tensorflow
Install / Use
/learn @ericsujw/Contest4README
Contest4 - StackGAN++
-
StackGAN++ implemented by Tensorflow
- CS565600 Deep Learning Contest4
- For inclass contest
-
Framework
<img src="framework.jpg" width="900px" height="350px"></img>
-
Installation Guide
pip install -r requirement.txtCUDA 8.0,cudnn 6.0andTensorflow 1.4- Download and unzip dataset besides main.py
- Download and unzip testing tool besides main.py
- Install and setup config kaggle cli
mkdir inferencebesides main.py
-
Training
python main.py- If you occur memory error when training, you could resize the batch_size in
main.pyline 19
-
Evaluate and Submit to Kaggle
cd testing && python inception_score.py ../inference ../score.csv && kg submit ../score.csv- If you have 2 GPUs, you can uncomment
main.pyline 806 to evaluate in loop. At the same time you should specified thetesting/inception_score.pyto run on different GPU with enough memory space.
-
Reference
