• Stars
    star
    935
  • Rank 48,878 (Top 1.0 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 8 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TensorFlow implementation of "Image-to-Image Translation Using Conditional Adversarial Networks".

pix2pix-tensorflow

TensorFlow implementation of Image-to-Image Translation Using Conditional Adversarial Networks that learns a mapping from input images to output images.

Here are some results generated by the authors of paper:

Setup

Prerequisites

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

Getting Started

  • Clone this repo:
git clone [email protected]:yenchenlin/pix2pix-tensorflow.git
cd pix2pix-tensorflow
  • Download the dataset (script borrowed from torch code):
bash ./download_dataset.sh facades
  • Train the model
python main.py --phase train
  • Test the model:
python main.py --phase test

Results

Here is the results generated from this implementation:

  • Facades:

More results on other datasets coming soon!

Note: To avoid the fast convergence of D (discriminator) network, G (generator) network is updated twice for each D network update, which differs from original paper but same as DCGAN-tensorflow, which this project based on.

Train

Code currently supports CMP Facades dataset. To reproduce results presented above, it takes 200 epochs of training. Exact computing time depends on own hardware conditions.

Test

Test the model on validation set of CMP Facades dataset. It will generate synthesized images provided corresponding labels under directory ./test.

Acknowledgments

Code borrows heavily from pix2pix and DCGAN-tensorflow. Thanks for their excellent work!

License

MIT

More Repositories

1

DeepLearningFlappyBird

Flappy Bird hack using Deep Reinforcement Learning (Deep Q-learning).
Python
6,471
star
2

nerf-pytorch

A PyTorch implementation of NeRF (Neural Radiance Fields) that reproduces the results.
Python
4,076
star
3

awesome-NeRF

A curated list of awesome neural radiance fields papers
TeX
2,492
star
4

awesome-adversarial-machine-learning

A curated list of awesome adversarial machine learning resources
1,699
star
5

awesome-watchos

A curated list of awesome watchOS frameworks, libraries, sample apps.
Ruby
445
star
6

nerf-supervision-public

Python
185
star
7

iNeRF-public

Python
162
star
8

research-advice

28
star
9

vision2action-ICRA

15
star
10

evf-public

Experience-embedded Visual Foresight, CoRL 2019
Python
14
star
11

paper-notes

Notes for papers or blog posts about ML, Robotics, CV.
14
star
12

mira

Python
12
star
13

Deep360Pilot-optical-flow

Code for extracting optical flow features for deep 360 pilot
Python
8
star
14

orthographic-ngp

Cuda
7
star
15

link

Jupyter Notebook
3
star
16

YahooParallaxScrollEffect

Implementation of Yahoo! Weather's parallax scroll effect
Swift
3
star
17

the-military-grind

My memories for military service.
CSS
3
star
18

alpaca-turbo

Python
2
star
19

fid

Python
2
star
20

adversarial-deep-rl

2
star
21

yenchenlin.github.io

JavaScript
2
star
22

gear-vr-360-player

clone from Oculus sample
Makefile
1
star
23

biggan-opt

Jupyter Notebook
1
star
24

dev-setup

My development environment setup
1
star
25

old-the-military-grind

This book will chronicle my four-month-grind when serving military in Taiwan.
HTML
1
star
26

old-blog

CSS
1
star
27

omniglot-45-5

Omniglot 45-5 split dataset
Python
1
star