All Projects → vita-epfl → Collaborative Gan Sampling

vita-epfl / Collaborative Gan Sampling

[AAAI20] TensorFlow implementation of the Collaborative Sampling in Generative Adversarial Networks

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Collaborative Gan Sampling

GAN-Project-2018
GAN in Tensorflow to be run via Linux command line
Stars: ✭ 21 (+16.67%)
Mutual labels:  generative-adversarial-networks
Pytorch Gans
My implementation of various GAN (generative adversarial networks) architectures like vanilla GAN (Goodfellow et al.), cGAN (Mirza et al.), DCGAN (Radford et al.), etc.
Stars: ✭ 271 (+1405.56%)
Mutual labels:  generative-adversarial-networks
Pluralistic Inpainting
CVPR 2019: "Pluralistic Image Completion"
Stars: ✭ 461 (+2461.11%)
Mutual labels:  generative-adversarial-networks
mSRGAN-A-GAN-for-single-image-super-resolution-on-high-content-screening-microscopy-images.
Generative Adversarial Network for single image super-resolution in high content screening microscopy images
Stars: ✭ 52 (+188.89%)
Mutual labels:  generative-adversarial-networks
Multi-Agent-Diverse-Generative-Adversarial-Networks
Easy-to-follow Pytorch tutorial Notebook for Multi-Agent-Diverse-Generative-Adversarial-Networks
Stars: ✭ 23 (+27.78%)
Mutual labels:  generative-adversarial-networks
Tensorflow Generative Model Collections
Collection of generative models in Tensorflow
Stars: ✭ 3,785 (+20927.78%)
Mutual labels:  generative-adversarial-networks
awesome-GAN-papers
papers and codes about GAN
Stars: ✭ 55 (+205.56%)
Mutual labels:  generative-adversarial-networks
Segan
Speech Enhancement Generative Adversarial Network in TensorFlow
Stars: ✭ 661 (+3572.22%)
Mutual labels:  generative-adversarial-networks
3d Sdn
[NeurIPS 2018] 3D-Aware Scene Manipulation via Inverse Graphics
Stars: ✭ 256 (+1322.22%)
Mutual labels:  generative-adversarial-networks
Mimicry
[CVPR 2020 Workshop] A PyTorch GAN library that reproduces research results for popular GANs.
Stars: ✭ 458 (+2444.44%)
Mutual labels:  generative-adversarial-networks
fusion gan
Codes for the paper 'Learning to Fuse Music Genres with Generative Adversarial Dual Learning' ICDM 17
Stars: ✭ 18 (+0%)
Mutual labels:  generative-adversarial-networks
transganformer
Implementation of TransGanFormer, an all-attention GAN that combines the finding from the recent GanFormer and TransGan paper
Stars: ✭ 137 (+661.11%)
Mutual labels:  generative-adversarial-networks
Gansformer
Generative Adversarial Transformers
Stars: ✭ 421 (+2238.89%)
Mutual labels:  generative-adversarial-networks
Diverse-Structure-Inpainting
CVPR 2021: "Generating Diverse Structure for Image Inpainting With Hierarchical VQ-VAE"
Stars: ✭ 131 (+627.78%)
Mutual labels:  generative-adversarial-networks
Deblur Gan
Keras implementation of "DeblurGAN: Blind Motion Deblurring Using Conditional Adversarial Networks"
Stars: ✭ 483 (+2583.33%)
Mutual labels:  generative-adversarial-networks
generative deep learning
Generative Deep Learning Sessions led by Anugraha Sinha (Machine Learning Tokyo)
Stars: ✭ 24 (+33.33%)
Mutual labels:  generative-adversarial-networks
Adversarial Examples Pytorch
Implementation of Papers on Adversarial Examples
Stars: ✭ 293 (+1527.78%)
Mutual labels:  generative-adversarial-networks
Delving Deep Into Gans
Generative Adversarial Networks (GANs) resources sorted by citations
Stars: ✭ 834 (+4533.33%)
Mutual labels:  generative-adversarial-networks
Big Sleep
A simple command line tool for text to image generation, using OpenAI's CLIP and a BigGAN
Stars: ✭ 396 (+2100%)
Mutual labels:  generative-adversarial-networks
Enlightengan
[IEEE TIP'2021] "EnlightenGAN: Deep Light Enhancement without Paired Supervision" by Yifan Jiang, Xinyu Gong, Ding Liu, Yu Cheng, Chen Fang, Xiaohui Shen, Jianchao Yang, Pan Zhou, Zhangyang Wang
Stars: ✭ 434 (+2311.11%)
Mutual labels:  generative-adversarial-networks

Collaborative Sampling in Generative Adversarial Networks

This repository provides a TensorFlow implementation of the Collaborative Sampling in Generative Adversarial Networks.

Paper | Poster | PyTorch


Overview

Once GAN training completes, we use both the generator and the discriminator to produce samples collaboratively. Our sampling scheme consists of one sample proposal step and multiple sample refinement steps. (I) The fixed generator proposes samples. (II) Subsequently, the discriminator provides gradients, with respect to activation maps of the proposed samples, back to a particular layer of the generator. Gradient-based updates of the activation maps are performed repeatedly until the samples are classified as real by the discriminator.


2D Synthetic

GANs for modelling an imbalanced mixture of 8 Gaussians. Vanilla GANs are prone to mode collapse. The accept-reject sampling algorithms including Discriminator Rejection Sampling (DRS) and Metropolis-Hastings method (MH-GAN) suffer from severe distribution bias due to the mismatch between distribution supports. Our collaborative sampling scheme applied to early terminated GANs succeeds in recovering all modes without compromising sample quality, significantly outperforming the baseline methods.

Real GAN
1K Iter
GAN
9K Iter
DRS
at 1K Iter
MH-GAN
at 1K Iter
Refine
at 1K Iter
Collab
at 1K Iter
Quality Diversity Overall

Image Generation

DCGAN for modelling human faces on the CelebA dataset. (Top) Samples from standard sampling. (Middle) Samples from our collaborative sampling method. (Bottom) The difference between the top and the middle row.

Cifar10 CelebA

Image Manipulation

CycleGAN for unpaired image-to-image translation. (Top) Samples from standard sampling. (Middle) Samples from our collaborative sampling method. (Bottom) The difference between the top and the middle row.


Dependencies:

  • tensorflow==1.13.0
  • CUDA==10.0
  • pillow
  • scipy=1.2
  • matplotlib
  • requests
  • tqdm

Citation:

If you use this code for your research, please cite our papers.

@inproceedings{liu2019collaborative,
  title={Collaborative Sampling in Generative Adversarial Networks},
  author={Liu, Yuejiang and Kothari, Parth and Alahi, Alexandre},
  booktitle={Thirty-first AAAI conference on artificial intelligence},
  year={2020}
}

Acknowledgements

The baseline implementation has been based on this repository

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].