All Projects → houliangict → SlimGAN

houliangict / SlimGAN

Licence: other
Slimmable Generative Adversarial Networks (AAAI 2021)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SlimGAN

StyleGANCpp
Unofficial implementation of StyleGAN's generator
Stars: ✭ 25 (+25%)
Mutual labels:  gan
CS231n
My solutions for Assignments of CS231n: Convolutional Neural Networks for Visual Recognition
Stars: ✭ 30 (+50%)
Mutual labels:  gan
AvatarGAN
Generate Cartoon Images using Generative Adversarial Network
Stars: ✭ 24 (+20%)
Mutual labels:  gan
infnet-spen
TensorFlow implementation [ICLR 18] "Learning Approximate Inference Networks for Structured Prediction"
Stars: ✭ 30 (+50%)
Mutual labels:  gan
GAN-auto-write
Generative Adversarial Network that learns to generate handwritten digits. (Learning Purposes)
Stars: ✭ 18 (-10%)
Mutual labels:  gan
Deep-Exemplar-based-Video-Colorization
The source code of CVPR 2019 paper "Deep Exemplar-based Video Colorization".
Stars: ✭ 180 (+800%)
Mutual labels:  gan
pytorch gan
Spectral Normalization and Projection Discriminator
Stars: ✭ 16 (-20%)
Mutual labels:  gan
wc-gan
Whitening and Coloring transform for GANs
Stars: ✭ 33 (+65%)
Mutual labels:  gan
automatic-manga-colorization
Use keras.js and cyclegan-keras to colorize manga automatically. All computation in browser. Demo is online:
Stars: ✭ 20 (+0%)
Mutual labels:  gan
pytorch clip guided loss
A simple library that implements CLIP guided loss in PyTorch.
Stars: ✭ 67 (+235%)
Mutual labels:  gan
AdvSegLoss
Official Pytorch implementation of Adversarial Segmentation Loss for Sketch Colorization [ICIP 2021]
Stars: ✭ 24 (+20%)
Mutual labels:  gan
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 (+160%)
Mutual labels:  gan
MoveSim
Codes for paper in KDD 2020 (AI for COVID-19): Learning to Simulate Human Mobility
Stars: ✭ 16 (-20%)
Mutual labels:  gan
metrics
IS, FID score Pytorch and TF implementation, TF implementation is a wrapper of the official ones.
Stars: ✭ 91 (+355%)
Mutual labels:  gan
Pytorch-Image-Translation-GANs
Pytorch implementations of most popular image-translation GANs, including Pixel2Pixel, CycleGAN and StarGAN.
Stars: ✭ 106 (+430%)
Mutual labels:  gan
TET-GAN
[AAAI 2019] TET-GAN: Text Effects Transfer via Stylization and Destylization
Stars: ✭ 74 (+270%)
Mutual labels:  gan
steam-stylegan2
Train a StyleGAN2 model on Colaboratory to generate Steam banners.
Stars: ✭ 30 (+50%)
Mutual labels:  gan
ML-Papers-TLDR
A summary of interesting Machine Learning (mostly Deep Learning) papers that I encounter.
Stars: ✭ 20 (+0%)
Mutual labels:  gan
chainer-wasserstein-gan
Chainer implementation of the Wesserstein GAN
Stars: ✭ 20 (+0%)
Mutual labels:  gan
Course-Project---Speech-Driven-Facial-Animation
ECE 535 - Course Project, Deep Learning Framework
Stars: ✭ 63 (+215%)
Mutual labels:  gan

Slimmable Generative Adversarial Networks

This is a PyTorch implementation of Slimmable Generative Adversarial Networks.

SlimGAN

Requirements

The code has been tested running under Python 3.6.8, with the following packages installed (along with their dependencies):

pip install -r requirements.txt

Usage

First, please enter the examples directory .

To run the individual GANs, we give the following example script.

  • SNDCGAN on CIFAR-10 with 1.0x width.
python baseline.py --dataset cifar10 --arch dcgan --width_mult_g 1.00 --width_mult_d 1.00 --setting C --n_steps 100000 --loss hinge --log_dir ./logs/gan_cifar10_dcgan_wg100_wd100

To run the SlimGAN, we give the following example scripts.

  • SNResGAN (ResNet) based SlimGAN on CIFAR-10
python main.py --dataset cifar10 --arch resnet --setting G --alpha 20 --stepwise --n_share 2 --log_dir ./logs/slimgan_cifar10_resnet_alpha20_stepwise_nshare2
  • cGANpd based SlimGAN on CIFAR-10
python main.py --dataset cifar10 --arch resnet --setting G --cond --alpha 10 --stepwise --n_share 2 --log_dir ./logs/slimgan_cifar10_cganpd_alpha10_stepwise_nshare2

Cite

If you use this code, please cite

@inproceedings{hou2021slimmable,
  title={Slimmable Generative Adversarial Networks},
  author={Hou, Liang and Yuan, Zehuan and Huang, Lei and Shen, Huawei and Cheng, Xueqi and Wang, Changhu},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={35},
  number={9},
  pages={7746--7753},
  year={2021}
}

Acknowledgments

This repository is developed based on mimicry and slimmable_networks.

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