← Open Source

PyTorch Implementation of CycleGAN and SSGAN for Domain Transfer (Minimal).

Python
Momentum
+0stars in 24 hours0.0%
439
Stars
107
Forks
1
Contributors
Created 2017-05-03 · Updated 2026-08-25 · #25296 today
Top developers
README

MNIST-to-SVHN and SVHN-to-MNIST

PyTorch Implementation of CycleGAN and Semi-Supervised GAN for Domain Transfer.

Prerequites


Usage

Clone the repository

$ git clone https://github.com/yunjey/mnist-svhn-transfer.git
$ cd mnist-svhn-transfer/

Download the dataset

$ chmod +x download.sh
$ ./download.sh

Train the model

1) CycleGAN
$ python main.py --use_labels=False --use_reconst_loss=True
2) SGAN
$ python main.py --use_labels=True --use_reconst_loss=False

Results

1) CycleGAN (should be re-uploaded)

From SVHN to MNIST From MNIST to SVHN

2) SGAN

From SVHN to MNIST From MNIST to SVHN
Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store