All Projects → andrewliao11 → unrolled-gans

andrewliao11 / unrolled-gans

Licence: MIT license
PyTorch Implementation of Unrolled Generative Adversarial Networks

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to unrolled-gans

Pytorch Cyclegan And Pix2pix
Image-to-Image Translation in PyTorch
Stars: ✭ 16,477 (+46977.14%)
Mutual labels:  gan
Video prediction
Stochastic Adversarial Video Prediction
Stars: ✭ 247 (+605.71%)
Mutual labels:  gan
pix2pix-tensorflow
A minimal tensorflow implementation of pix2pix (Image-to-Image Translation with Conditional Adversarial Nets - https://phillipi.github.io/pix2pix/).
Stars: ✭ 22 (-37.14%)
Mutual labels:  gan
Nn
🧑‍🏫 50! Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
Stars: ✭ 5,720 (+16242.86%)
Mutual labels:  gan
The Gan World
Everything about Generative Adversarial Networks
Stars: ✭ 243 (+594.29%)
Mutual labels:  gan
Rnn.wgan
Code for training and evaluation of the model from "Language Generation with Recurrent Generative Adversarial Networks without Pre-training"
Stars: ✭ 252 (+620%)
Mutual labels:  gan
Srgan
Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
Stars: ✭ 2,641 (+7445.71%)
Mutual labels:  gan
IrwGAN
Official pytorch implementation of the IrwGAN for unaligned image-to-image translation
Stars: ✭ 33 (-5.71%)
Mutual labels:  gan
Torchfusion
A modern deep learning framework built to accelerate research and development of AI systems
Stars: ✭ 244 (+597.14%)
Mutual labels:  gan
Semantic Pyramid for Image Generation
PyTorch reimplementation of the paper: "Semantic Pyramid for Image Generation" [CVPR 2020].
Stars: ✭ 45 (+28.57%)
Mutual labels:  gan
Gif
GIF is a photorealistic generative face model with explicit 3D geometric and photometric control.
Stars: ✭ 233 (+565.71%)
Mutual labels:  gan
Adgan
The Implementation of paper "Controllable Person Image Synthesis with Attribute-Decomposed GAN"
Stars: ✭ 239 (+582.86%)
Mutual labels:  gan
scrabble-gan
Adversarial Generation of Handwritten Text Images
Stars: ✭ 49 (+40%)
Mutual labels:  gan
Gan Discussions
GAN讨论群讨论汇总的地方
Stars: ✭ 228 (+551.43%)
Mutual labels:  gan
ZSL-ADA
Code accompanying the paper "A Generative Framework for Zero Shot Learning with Adversarial Domain Adaptation"
Stars: ✭ 18 (-48.57%)
Mutual labels:  gan
Gan Tutorial
Simple Implementation of many GAN models with PyTorch.
Stars: ✭ 227 (+548.57%)
Mutual labels:  gan
Pixeldtgan
A torch implementation of "Pixel-Level Domain Transfer"
Stars: ✭ 248 (+608.57%)
Mutual labels:  gan
CoMoGAN
CoMoGAN: continuous model-guided image-to-image translation. CVPR 2021 oral.
Stars: ✭ 139 (+297.14%)
Mutual labels:  gan
sourceseparation misc
No description or website provided.
Stars: ✭ 44 (+25.71%)
Mutual labels:  gan
text2painting
Convert text into beautiful artistic images
Stars: ✭ 55 (+57.14%)
Mutual labels:  gan

pytorch-unrolled-gans

PyTorch implementation of Unrolled Generative Adversarial Networks. The official tensorflow implementation is here.

There is an issue posted in the official repo complaining that "Couldn't reproduce mode collapse without unrolling operation". I also found this issue (especially when using F.tanh as activation function) when implemented this repo, and found it pretty interesting.

Here are the corresponding results:

  • unrolled steps = 0

  • unrolled steps = 10

It's well-known that there are too many factors affect the GAN training, and I started to doubt whether the unrolled objective does help the GAN trainin or avoid mode collapse. I try to make the data distribution harder by making the weight of the mixture gaussian non-uniform, so that the generator will be harder to cover all modes.

Case 1:

  • unrolled steps = 0

  • unrolled steps = 10

Slight improvement can be observed. Glad to see that the unrolled objective does work at least in my experiement settings. 😄

Case 2 (failure case):

  • unrolled steps = 0

  • unrolled steps = 10

Larger improvement can be oberserved in the following experiments

Other experiment settings

I found that in this eperiments, using F.relu (what the author used in the paper) results in larger gap:

uniform mixture of gaussian

  • unrolled steps = 0

  • unrolled steps = 10

non-uniform mixture of gaussian

  • unrolled steps = 0

  • unrolled steps = 10

Requirements

  • PyTorch 0.4.0
  • matplotlib
  • seaborn
  • tqdm

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].