GithubHelp home page GithubHelp logo

simgan-simple's Introduction

SimGAN

Project Description

Title: Make Virtual World Real

  • This project is motivated by SimGAN. Detail is described in the report.
  • models.py includes SimGAN, CycleGAN and model from this work.

Example Results

From left to right: virtual, refined using SimGAN, refined using model from this work. virtual SimGAN ThisWork

sample output

I also try to do using CycleGAN, see the exapmle1 and example2.

Data

Road scene dataset:

  1. Synthetic images: Virtual KITTI
  2. Real images: KITTI Object Detection

Data directory:

  • Training data:
    • virtual images under ./datasets/road/trainA
    • real images under ./datasets/road/trainB
  • Test data:
    • modify test.py for the test data directory: x_list = glob('./datasets/' + dataset + '/vkitti_1.3.1_rgb/0018/morning/*.png')
    • the refined images will be saved under ./test_predictions/

In addition, you could also download datasets as CycleGAN paper to run the models, e.g. sh ./download_dataset.sh horse2zebra.

Train

python train.py --dataset=road --channel=3 --ratio=2 --lambda_=10.0

Test

python test.py --dataset=road --channel=3 --ratio=2 --lambda_=10.0

Note

  • I use least square GAN instead of negative log likelihood objective.
  • For tensorboard run: tensorboard --logdir=summaries

Acknowledgments

Code modify from CycleGAN-Tensorflow-PyTorch-Simple and simulated-unsupervised-tensorflow.

simgan-simple's People

Contributors

chjoanna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.