All Projects → zhangqianhui → Sparsely Grouped Gan

zhangqianhui / Sparsely Grouped Gan

Licence: mit
Code for paper "Sparsely Grouped Multi-task Generative Adversarial Networks for Facial Attribute Manipulation"

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sparsely Grouped Gan

CsiGAN
An implementation for our paper: CsiGAN: Robust Channel State Information-based Activity Recognition with GANs (IEEE Internet of Things Journal, 2019), which is the semi-supervised Generative Adversarial Network (GAN) for Channel State Information (CSI) -based activity recognition.
Stars: ✭ 23 (-66.18%)
Mutual labels:  generative-adversarial-network, semi-supervised-learning
Ssgan Tensorflow
A Tensorflow implementation of Semi-supervised Learning Generative Adversarial Networks (NIPS 2016: Improved Techniques for Training GANs).
Stars: ✭ 496 (+629.41%)
Mutual labels:  generative-adversarial-network, semi-supervised-learning
Alae
[CVPR2020] Adversarial Latent Autoencoders
Stars: ✭ 3,178 (+4573.53%)
Mutual labels:  paper, generative-adversarial-network
IrwGAN
Official pytorch implementation of the IrwGAN for unaligned image-to-image translation
Stars: ✭ 33 (-51.47%)
Mutual labels:  generative-adversarial-network, image-translation
Wgan Lp Tensorflow
Reproduction code for WGAN-LP
Stars: ✭ 13 (-80.88%)
Mutual labels:  paper, generative-adversarial-network
catgan pytorch
Unsupervised and Semi-supervised Learning with Categorical Generative Adversarial Networks
Stars: ✭ 50 (-26.47%)
Mutual labels:  generative-adversarial-network, semi-supervised-learning
Selectiongan
[CVPR 2019 Oral] Multi-Channel Attention Selection GAN with Cascaded Semantic Guidance for Cross-View Image Translation
Stars: ✭ 366 (+438.24%)
Mutual labels:  generative-adversarial-network, image-translation
ganbert-pytorch
Enhancing the BERT training with Semi-supervised Generative Adversarial Networks in Pytorch/HuggingFace
Stars: ✭ 60 (-11.76%)
Mutual labels:  generative-adversarial-network, semi-supervised-learning
Gans In Action
Companion repository to GANs in Action: Deep learning with Generative Adversarial Networks
Stars: ✭ 748 (+1000%)
Mutual labels:  generative-adversarial-network, semi-supervised-learning
Fewshot Face Translation Gan
Generative adversarial networks integrating modules from FUNIT and SPADE for face-swapping.
Stars: ✭ 705 (+936.76%)
Mutual labels:  generative-adversarial-network, image-translation
BicycleGAN-pytorch
Pytorch implementation of BicycleGAN with implementation details
Stars: ✭ 99 (+45.59%)
Mutual labels:  generative-adversarial-network, image-translation
Acgan Pytorch
Pytorch implementation of Conditional Image Synthesis with Auxiliary Classifier GANs
Stars: ✭ 57 (-16.18%)
Mutual labels:  generative-adversarial-network, semi-supervised-learning
AdversarialAudioSeparation
Code accompanying the paper "Semi-supervised adversarial audio source separation applied to singing voice extraction"
Stars: ✭ 70 (+2.94%)
Mutual labels:  paper, semi-supervised-learning
TriangleGAN
TriangleGAN, ACM MM 2019.
Stars: ✭ 28 (-58.82%)
Mutual labels:  generative-adversarial-network, image-translation
BicycleGAN
Tensorflow implementation of the NIPS paper "Toward Multimodal Image-to-Image Translation"
Stars: ✭ 30 (-55.88%)
Mutual labels:  generative-adversarial-network, image-translation
Cyclegan
Tensorflow implementation of CycleGAN
Stars: ✭ 348 (+411.76%)
Mutual labels:  paper, generative-adversarial-network
multitask-CycleGAN
Pytorch implementation of multitask CycleGAN with auxiliary classification loss
Stars: ✭ 88 (+29.41%)
Mutual labels:  generative-adversarial-network, image-translation
pytorch-CycleGAN
Pytorch implementation of CycleGAN.
Stars: ✭ 39 (-42.65%)
Mutual labels:  generative-adversarial-network, image-translation
All About The Gan
All About the GANs(Generative Adversarial Networks) - Summarized lists for GAN
Stars: ✭ 630 (+826.47%)
Mutual labels:  paper, generative-adversarial-network
Image To Image Papers
🦓<->🦒 🌃<->🌆 A collection of image to image papers with code (constantly updating)
Stars: ✭ 949 (+1295.59%)
Mutual labels:  generative-adversarial-network, image-translation

SGGAN - Official Tensorflow Implementation

Sparsely Grouped Multi-task Generative Adversarial Networks for Facial Attribute Manipulation
Jichao Zhang, Yezhi Shu, Songhua Xu, Gongze Cao, Fan Zhong, Meng Liu, Xueying Qin
In ACMMM 2018 Oral.

Paper: https://arxiv.org/abs/1805.07509

Abstract: Recently, Image-to-Image Translation (IIT) has made great progress in enabling image style transfer and manipulation of semantic context in an image. However, existing approaches require exhaustive labelling of training data, which is labor demanding, difficult to scale up, and hard to adapt to a new domain. To overcome such a key limitation, we propose sparsely grouped generative adversarial networks(SG-GAN), a novel approach that can perform image translation in the sparsely grouped datasets, which most training data are mixed and just a few are labelled. SG-GAN with one-input multiple output architecture can be used for the translations among multiple groups using only a single trained model. As a case study for experimentally validating the advantages of our model, we apply the algorithm to tackle a series of tasks of attribute manipulation for facial images. Experiment results show that SG-GAN can achieve competitive results compared with previous state-of-the-art methods on adequately labelled datasets while attaining the superior quality of image translation results on sparsely grouped datasets where most data is mixed and only small parts are labelled..

Citation

@inproceedings{zhang2018sparsely,
  title={Sparsely grouped multi-task generative adversarial networks for facial attribute manipulation},
  author={Zhang, Jichao and Shu, Yezhi and Xu, Songhua and Cao, Gongze and Zhong, Fan and Liu, Meng and Qin, Xueying},
  booktitle={Proceedings of the 26th ACM international conference on Multimedia},
  pages={392--401},
  year={2018}
}

Dependencies

pip install -r requirments.txt

Usage

  • Clone this repo:
git clone https://github.com/zhangqianhui/Sparsely-Grouped-GAN.git
cd Sparsely-Grouped-GAN

  • Download the CelebA dataset

You can download the CelebA dataset and unzip CelebA into a directory.

Just like

---------------------------------------------

The training data folder should look like : 
<base_dir/images/>
               |--image1
               |--image2
               |--image3
               |--image4...
   
list_attr_celeba.txt

---------------------------------------------

You can edit label_dir and data_dir in Baseoptions.txt and use the path for your CelebA dataset.

  • Train the model using command line with python
python train.py --exper_name='log20_5_1' --gpu_id='0' --loss_type='wgan_gp' --n_critic=5 --lam_c=10
  • Test the model
python test.py --exper_name='log20_5_1' --gpu_id='0' 

Or Using scripts for training

bash scripts/train_log20_5_1.sh

Using scripts for testing and pretained model can be downloaded Pretrained Model

bash scripts/test_log20_5_1.sh

Experiment Result

Reference code

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