Skip to content
/ pix2pix Public

A implement of pix2pix for tensorflow version(Image-to-Image Translation with Conditional Adversarial Nets)

Notifications You must be signed in to change notification settings

nnUyi/pix2pix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pix2pix

Requirements

  • tensorflow 1.3.0

  • python 2.7.12

  • numpy 1.13.1

  • scipy 0.17.0

Usages

download repo

  $ git clone https://github.com/nnuyi/pix2pix
  $ cd pix2pix

download datasets

  # 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.

training model

  $ python main.py --is_training True --phase train

testing model

  $ python main.py --is_testing True --phase test

Results

sample data from val sets(sampling)

sample result sample result
Alt test Alt test
left:source
middle: groundtruth
right:sample
left:source
middle: groundtruth
right:sample

sample data from test sets(testing)

test result test result
Alt test Alt test
left:source
middle: groundtruth
right:sample
left:source
middle: groundtruth
right:sample
Alt test Alt test
left:source
middle: groundtruth
right:sample
left:source
middle: groundtruth
right:sample

Acknowledgements

Contacts

About

A implement of pix2pix for tensorflow version(Image-to-Image Translation with Conditional Adversarial Nets)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published