All Projects → LynnHo → Cyclegan Tensorflow 2

LynnHo / Cyclegan Tensorflow 2

Licence: mit
CycleGAN Tensorflow 2

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Cyclegan Tensorflow 2

Cyclegan Tensorflow
Tensorflow implementation for learning an image-to-image translation without input-output pairs. https://arxiv.org/pdf/1703.10593.pdf
Stars: ✭ 676 (+104.85%)
Mutual labels:  cyclegan, image-translation
Attentiongan
AttentionGAN for Unpaired Image-to-Image Translation & Multi-Domain Image-to-Image Translation
Stars: ✭ 341 (+3.33%)
Mutual labels:  cyclegan, image-translation
Pytorch-Image-Translation-GANs
Pytorch implementations of most popular image-translation GANs, including Pixel2Pixel, CycleGAN and StarGAN.
Stars: ✭ 106 (-67.88%)
Mutual labels:  image-translation, cyclegan
pytorch-CycleGAN
Pytorch implementation of CycleGAN.
Stars: ✭ 39 (-88.18%)
Mutual labels:  image-translation, cyclegan
day2night
Image2Image Translation Research
Stars: ✭ 46 (-86.06%)
Mutual labels:  image-translation, cyclegan
Cyclegan
PyTorch implementation of CycleGAN
Stars: ✭ 38 (-88.48%)
Mutual labels:  cyclegan, image-translation
BicycleGAN-pytorch
Pytorch implementation of BicycleGAN with implementation details
Stars: ✭ 99 (-70%)
Mutual labels:  image-translation, cyclegan
cycleGAN-PyTorch
A clean and lucid implementation of cycleGAN using PyTorch
Stars: ✭ 107 (-67.58%)
Mutual labels:  image-translation, cyclegan
multitask-CycleGAN
Pytorch implementation of multitask CycleGAN with auxiliary classification loss
Stars: ✭ 88 (-73.33%)
Mutual labels:  image-translation, cyclegan
ganslate
Simple and extensible GAN image-to-image translation framework. Supports natural and medical images.
Stars: ✭ 17 (-94.85%)
Mutual labels:  image-translation, cyclegan
pix2pix
PyTorch implementation of Image-to-Image Translation with Conditional Adversarial Nets (pix2pix)
Stars: ✭ 36 (-89.09%)
Mutual labels:  image-translation
Splice
Official Pytorch Implementation for "Splicing ViT Features for Semantic Appearance Transfer" presenting "Splice" (CVPR 2022)
Stars: ✭ 126 (-61.82%)
Mutual labels:  image-translation
joliGAN
Semantic Image-to-Image Translation for Domain Adaptation
Stars: ✭ 36 (-89.09%)
Mutual labels:  cyclegan
BicycleGAN
Tensorflow implementation of the NIPS paper "Toward Multimodal Image-to-Image Translation"
Stars: ✭ 30 (-90.91%)
Mutual labels:  image-translation
Hands On Deep Learning Algorithms With Python
Master Deep Learning Algorithms with Extensive Math by Implementing them using TensorFlow
Stars: ✭ 272 (-17.58%)
Mutual labels:  cyclegan
Image-Colorization-CycleGAN
Colorization of grayscale images using CycleGAN in TensorFlow.
Stars: ✭ 16 (-95.15%)
Mutual labels:  cyclegan
CycleGAN-Music-Style-Transfer-Refactorization
Symbolic Music Genre Transfer with CycleGAN - Refactorization
Stars: ✭ 28 (-91.52%)
Mutual labels:  cyclegan
Munit Tensorflow
Simple Tensorflow implementation of "Multimodal Unsupervised Image-to-Image Translation" (ECCV 2018)
Stars: ✭ 292 (-11.52%)
Mutual labels:  image-translation
Shadesketch
Implementation of "Learning to Shadow Hand-drawn Sketches" CVPR 2020 (Oral)
Stars: ✭ 263 (-20.3%)
Mutual labels:  image-translation
automatic-manga-colorization
Use keras.js and cyclegan-keras to colorize manga automatically. All computation in browser. Demo is online:
Stars: ✭ 20 (-93.94%)
Mutual labels:  cyclegan

Recommendation

  • Our GAN based work for facial attribute editing - AttGAN.

News

  • We re-implement CycleGAN by Tensorflow 2! The old versions are here: v1, v0.


CycleGAN - Tensorflow 2

Tensorflow 2 implementation of CycleGAN.

Paper: Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks

Author: Jun-Yan Zhu et al.

Exemplar results

summer2winter

row 1: summer -> winter -> reconstructed summer, row 2: winter -> summer -> reconstructed winter

horse2zebra

row 1: horse -> zebra -> reconstructed horse, row 2: zebra -> horse -> reconstructed zebra

apple2orange

row 1: apple -> orange -> reconstructed apple, row 2: orange -> apple -> reconstructed orange

Usage

  • Environment

    • Python 3.6

    • TensorFlow 2.2, TensorFlow Addons 0.10.0

    • OpenCV, scikit-image, tqdm, oyaml

    • we recommend Anaconda or Miniconda, then you can create the TensorFlow 2.2 environment with commands below

      conda create -n tensorflow-2.2 python=3.6
      
      source activate tensorflow-2.2
      
      conda install scikit-image tqdm tensorflow-gpu=2.2
      
      conda install -c conda-forge oyaml
      
      pip install tensorflow-addons==0.10.0
      
    • NOTICE: if you create a new conda environment, remember to activate it before any other command

      source activate tensorflow-2.2
      
  • Dataset

    • download the summer2winter dataset

      sh ./download_dataset.sh summer2winter_yosemite
      
    • download the horse2zebra dataset

      sh ./download_dataset.sh horse2zebra
      
    • see download_dataset.sh for more datasets

  • Example of training

    CUDA_VISIBLE_DEVICES=0 python train.py --dataset summer2winter_yosemite
    
    • tensorboard for loss visualization

      tensorboard --logdir ./output/summer2winter_yosemite/summaries --port 6006
      
  • Example of testing

    CUDA_VISIBLE_DEVICES=0 python test.py --experiment_dir ./output/summer2winter_yosemite
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].