项目
在 GitHub 查看 









Yangyangii/GAN-Tutorial
关于
使用 PyTorch 简单实现多种 GAN 模型。
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GANs Tutorial
Very simple implementation of GANs, DCGANs, CGANs, WGANs, and etc. with PyTorch for various dataset (MNIST, CARS, CelebA).
You can run the code at Jupyter Notebook. And actually you can also run these codes by using Google Colab immediately (needed downloading some dataset)!
Sometimes ipynb files do not work in Github, please clone and run it in your server.
Requirements
- python 3.6 (Anaconda)
- pytorch 1.0.0 (updated from 0.4.0. If you want to use the previous version, then find previous commit.)
Implementation List
MNIST
CARS (Stanford dataset)
- you can download the dataset from https://ai.stanford.edu/~jkrause/cars/car_dataset.html
- DCGAN
- But I think the dataset is small and needs preprocessing a lot.
CelebA (aligned dataset)
- you can download the dataset from http://mmlab.ie.cuhk.edu.hk/projects/CelebA.html
- BEGAN
- R1GAN
Experimental Results
- You can also see the samples at ipynbs.
- After DCGAN, DCGAN with condition is a base model.
- Trained 30 epochs respectively.
Vanilla GAN

Conditional GAN

DC GAN

WGAN-gp

infoGAN w/ walking code 1

infoGAN w/ walking code 2

BEGAN random samples (20 epochs)

BEGAN interpolation

GAN with R1 regularization random samples (20 epochs)

GAN with R1 regularization interpolation

Colab
- https://colab.research.google.com
- You can run it with GPU(K80) Runtime mode
- Training Vanilla GAN takes only 10 minutes.
探索相关项目
加载中…