subpath / LSGAN-with-PyTorch

PyTorch implementation of the Least Squares Generative Adversarial Networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Least Squares Generative Adversarial Networks with PyTorch

Original paper: Least Squares Generative Adversarial Networks

LSGAN is the same as DCGAN, but it use different Loss function.

For the discriminator:

and for the generator:

How to run this code?

You can simply run this with

python main.py

All settings and hyperparameters are stored in config.toml file

About

PyTorch implementation of the Least Squares Generative Adversarial Networks

License:MIT License


Languages

Language:Python 100.0%