Coder Social home page Coder Social logo

jolibrain / pytorch-cyclegan-and-pix2pix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from junyanz/pytorch-cyclegan-and-pix2pix

3.0 3.0 0.0 8.27 MB

Image-to-Image Translation in PyTorch

License: Other

Python 94.61% Shell 2.02% MATLAB 0.43% C++ 0.39% Cuda 2.55%

pytorch-cyclegan-and-pix2pix's Introduction

Logo

Prerequisites

  • Linux or macOS
  • Python 3
  • CPU or NVIDIA GPU + CUDA CuDNN

Getting Started

Installation

  • Clone this repo:
git clone https://github.com/jolibrain/pytorch-CycleGAN-and-pix2pix
cd pytorch-CycleGAN-and-pix2pix
  • Install PyTorch and other dependencies (torchvision, visdom and dominate, FID).
    • For pip users, please type the command pip install -r requirements.txt.

JoliGAN train

  • Options :
Model Network Decoder
CycleGAN, CycleGAN_semantic, CycleGAN_semantic_mask resnet, Unet, mobile_resnet Vanilla, Sty2

You can tune the hyperparameters in ./scripts/train_cyclegan.sh and then use the following line command.

bash ./scripts/train_cyclegan.sh

You can tune the hyperparameters in ./scripts/train_cyclegan_semantic.sh and then use the following line command.

bash ./scripts/train_cyclegan_semantic.sh

You can tune the hyperparameters in ./scripts/train_cyclegan_semantic_mask.sh and then use the following line command.

bash ./scripts/train_cyclegan_semantic_mask.sh
  • Unaligned : apple2orange, horse2zebra
  • Unaligned with labels : svhn2mnist
  • Unaligned with mask labels : glasses2noglasses,

To choose a dataloader please use the flag --dataset_mode dataloader_name. There are three dataloaders for different dataset architectures :

  • Unaligned (unaligned)
  • Unaligned with labels (unaligned_labeled)
  • Unaligned with mask labels (unaligned_labeled_mask)

Acknowledgments

Our code is inspired by pytorch-CycleGAN-and-pix2pix.

pytorch-cyclegan-and-pix2pix's People

Contributors

alanyee avatar alexkassil avatar andyli avatar beniz avatar bilal2vec avatar bycob avatar eickenberg avatar guopzhao avatar iver56 avatar jpmerc avatar junyanz avatar kagudkovart avatar lambdawill avatar layumi avatar levirve avatar naruto-sasuke avatar nat-chan avatar orenkatzir avatar phillipi avatar pnsuau avatar rubabredwan avatar ruotianluo avatar simontreu avatar ssnl avatar strob avatar taesungp avatar tariqahassan avatar tylercarberry avatar yichunk avatar yt6t6t avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pytorch-cyclegan-and-pix2pix's Issues

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.