GithubHelp home page GithubHelp logo

znxlwm / tensorflow-pix2pix Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 3.0 31.49 MB

Tensorflow implementation of pix2pix for various datasets.

Python 100.00%
tensorflow tensorflow-pix2pix gan cgan pix2pix generative-adversarial-network generative-model image-translation unet conditional-gan

tensorflow-pix2pix's Introduction

tensorflow-pix2pix

Tensorflow implementation of pix2pix [1] for various datasets.

dataset

  • cityscapes
    • 2,975 training images, 200 train epochs, 1 batch size, inverse order: True
  • facades
    • 400 training images, 200 train epochs, 1 batch size, inverse order: True
  • maps
    • 1,096 training images, 200 train epochs, 1 batch size, inverse order: True
  • edges2shoes
    • 50k training images, 15 train epochs, 4 batch size, inverse order: False
  • edges2handbags
    • 137k training images, 15 train epochs, 4 batch size, inverse order: False

Resutls

maps

  • facades after 200 epochs
Input Output Ground truth
  • Generate animation for fixed inputs
    • First column: input, second column: output, third column: ground truth

maps_gif

  • Learning time
    • Avg. per epoch: 54.19 sec; Total 200 epochs: 11,339.61 sec

maps

  • maps after 200 epochs
Input Output Ground truth
  • Generate animation for fixed inputs
    • First column: input, second column: output, third column: ground truth

maps_gif

  • Learning time
    • Avg. per epoch: 205.08 sec; Total 200 epochs: 41,622.29 sec

Development Environment

  • Windows 7
  • GTX1080 ti
  • cuda 8.0
  • Python 3.5.3
  • tensorflow-gpu 1.2.1
  • numpy 1.13.1
  • matplotlib 2.0.2
  • imageio 2.2.0

Reference

[1] Isola, Phillip, et al. "Image-to-image translation with conditional adversarial networks." arXiv preprint arXiv:1611.07004 (2016).

(Full paper: https://arxiv.org/pdf/1611.07004.pdf)

tensorflow-pix2pix's People

Contributors

znxlwm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tensorflow-pix2pix's Issues

inverse order

Hi,
with the facades data, by saying:
400 training images, 200 train epochs, 1 batch size, inverse order: True. it will transfer the real house images to the sketched images. But your result is forward. I am quite confused about this.

Bests,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.