- An implement of pix2pix for tensorflow version according to paper named Image-to-Image Translation with Conditional Adversarial Nets
-
tensorflow 1.3.0
-
python 2.7.12
-
numpy 1.13.1
-
scipy 0.17.0
$ git clone https://github.com/nnuyi/pix2pix
$ cd pix2pix
# here facades indicates dataset name, you can change to Cityscapes etc, example shows below
$ bash ./dataset_download.sh facades
- This is repo mainly focus on facades datasets, more datasets you can download here, or you just need to run dataset_download.sh,then, you can see the dataset named facades is stored in your datasets(named datasets) directory.
$ python main.py --is_training True --phase train
$ python main.py --is_testing True --phase test
sample result | sample result |
---|---|
left:source middle: groundtruth right:sample |
left:source middle: groundtruth right:sample |
test result | test result |
---|---|
left:source middle: groundtruth right:sample |
left:source middle: groundtruth right:sample |
left:source middle: groundtruth right:sample |
left:source middle: groundtruth right:sample |
- dataset_down.sh is obtained from phillipi/pix2pix