Skip to content

nslyubaykin/cgan_for_edges_to_shoes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edges to Shoes with cGAN (Pix2Pix)

This notebook contains a TensorFlow 2.2.0 implementation (with some comments and explanations) of conditional GAN (cGAN, Pix2Pix) for transforming edges to shoes images from scratch as shown below:

Main Examples

Training Data:

Models are trained on UT Zappos50K shoe image dataset. In this notebook I used a square version of the data.

Images' edges were retreived with scikit-image package, and then used as source images for generation process.

Overall architecture follows the one described in original pix2pix paper:

  • U-net as a generator
  • PatchGAN as a discriminator

Please check out this article for more detailed implementation guide.

Model Outputs vs Ground Truth:

result 1

result 2

result 3

result 4

result 5

More Generated Shoes:

fakes 10x10

Handwritten Sketches to Shoes:

Examples below are much less realistic probably due to my poor painting skills.

sketch 1

sketch 2

About

Edges to Shoes with cGAN (Pix2Pix)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published