Skip to content

Ireneruru/Pix2pix_tensorflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pix2pix_tensorflowCode

Copyright@ Yiru Chen

Implement Image-to-Image Translation with Conditional Adversarial Networks on tensorflow.

Setup

Prerequisites

  • Python with numpy
  • NVIDIA GPU + CUDA 8.0 + CuDNNv5.1
  • TensorFlow 0.12

Getting Started

  • Download the dataset (script borrowed from torch code):
bash ./download_dataset.sh facades
  • Train the model
bash python train.py

Train

Current code supports CMP Facades dataset. And the latest implementation trains for 200 epochs. You are free to modify the constants in config.py.

Results

Here shows some of the pictures generated from this implementation.

  • Datasets: Facades

Acknowledgments

My implementation referenced pix2pix. Thanks for their excellent work!

License

Copyright (c) Yiru Chen

Licensed under the Apache License 2.0.

Releases

No releases published

Packages

No packages published