该库收集了大量用 Keras 实现的 GAN 案例代码以及论文,地址:
https://github.com/eriklindernoren/Keras-GAN
安装:
代码语言:javascript复制$ git clone https://github.com/eriklindernoren/Keras-GAN
$ cd Keras-GAN
$ sudo pip3 install -r requirements.txt
主要包括以下案例:
AC-GAN
代码:
https://github.com/eriklindernoren/Keras-GAN/blob/master/acgan/acgan.py
论文:
https://arxiv.org/abs/1610.09585
Adversarial Autoencoder
代码:
https://github.com/eriklindernoren/Keras-GAN/blob/master/aae/adversarial_autoencoder.py
论文:
https://arxiv.org/abs/1511.05644
BiGAN
代码:
https://github.com/eriklindernoren/Keras-GAN/blob/master/bigan/bigan.py
论文:
https://arxiv.org/abs/1605.09782
BGAN
代码:
https://github.com/eriklindernoren/Keras-GAN/blob/master/bgan/bgan.py
论文:
https://arxiv.org/abs/1702.08431
CC-GAN
代码:
https://github.com/eriklindernoren/Keras-GAN/blob/master/ccgan/ccgan.py
论文:
https://arxiv.org/abs/1611.06430
Context Encoder
代码:
https://github.com/eriklindernoren/Keras-GAN/blob/master/context_encoder/context_encoder.py
论文:
https://arxiv.org/abs/1604.07379
CoGAN
代码:
https://github.com/eriklindernoren/Keras-GAN/blob/master/cogan/cogan.py
论文:
https://arxiv.org/abs/1606.07536
CycleGAN
代码语言:javascript复制$ cd cyclegan
$ bash download_dataset.sh apple2orange
$ python3 cyclegan.py
代码:
https://github.com/eriklindernoren/Keras-GAN/blob/master/cyclegan/cyclegan.py
论文:
https://arxiv.org/abs/1703.10593
查看全部案例,请进入 Github 主页:
https://github.com/eriklindernoren/Keras-GAN