Github 專案推薦 | GAN 的 Keras 實現案例集合 —— Keras-GAN
該庫收集了大量用 Keras 實現的 GAN 案例程式碼以及論文,地址:
https://github.com/eriklindernoren/Keras-GAN
安裝:
$ 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
$ 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