All Projects → Natsu6767 → Conditional Animegan

Natsu6767 / Conditional Animegan

Conditional GAN for Anime face generation.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Conditional Animegan

py-msa-kdenlive
Python script to load a Kdenlive (OSS NLE video editor) project file, and conform the edit on video or numpy arrays.
Stars: ✭ 25 (-64.29%)
Mutual labels:  generative-adversarial-network, generative-model, generative-art
celeba-gan-pytorch
Generative Adversarial Networks in PyTorch
Stars: ✭ 35 (-50%)
Mutual labels:  generative-adversarial-network, generative-model
TriangleGAN
TriangleGAN, ACM MM 2019.
Stars: ✭ 28 (-60%)
Mutual labels:  generative-adversarial-network, generative-model
Alae
[CVPR2020] Adversarial Latent Autoencoders
Stars: ✭ 3,178 (+4440%)
Mutual labels:  generative-adversarial-network, generative-model
Cyclegan Qp
Official PyTorch implementation of "Artist Style Transfer Via Quadratic Potential"
Stars: ✭ 59 (-15.71%)
Mutual labels:  generative-adversarial-network, generative-art
pytorch-CycleGAN
Pytorch implementation of CycleGAN.
Stars: ✭ 39 (-44.29%)
Mutual labels:  generative-adversarial-network, generative-model
Generative models tutorial with demo
Generative Models Tutorial with Demo: Bayesian Classifier Sampling, Variational Auto Encoder (VAE), Generative Adversial Networks (GANs), Popular GANs Architectures, Auto-Regressive Models, Important Generative Model Papers, Courses, etc..
Stars: ✭ 276 (+294.29%)
Mutual labels:  generative-adversarial-network, generative-model
pytorch-GAN
My pytorch implementation for GAN
Stars: ✭ 12 (-82.86%)
Mutual labels:  generative-adversarial-network, generative-model
Seqgan
A simplified PyTorch implementation of "SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient." (Yu, Lantao, et al.)
Stars: ✭ 502 (+617.14%)
Mutual labels:  generative-adversarial-network, generative-model
Cartoongan Tensorflow
Generate your own cartoon-style images with CartoonGAN (CVPR 2018), powered by TensorFlow 2.0 Alpha.
Stars: ✭ 587 (+738.57%)
Mutual labels:  generative-adversarial-network, generative-art
Anime Inpainting
An application tool of edge-connect, which can do anime inpainting and drawing. 动漫人物图片自动修复,去马赛克,填补,去瑕疵
Stars: ✭ 761 (+987.14%)
Mutual labels:  generative-adversarial-network, anime
favorite-research-papers
Listing my favorite research papers 📝 from different fields as I read them.
Stars: ✭ 12 (-82.86%)
Mutual labels:  generative-adversarial-network, generative-model
GraphCNN-GAN
Graph-convolutional GAN for point cloud generation. Code from ICLR 2019 paper Learning Localized Generative Models for 3D Point Clouds via Graph Convolution
Stars: ✭ 50 (-28.57%)
Mutual labels:  generative-adversarial-network, generative-model
Mnist inception score
Training a MNIST classifier, and use it to compute inception score (ICP)
Stars: ✭ 25 (-64.29%)
Mutual labels:  generative-adversarial-network, generative-model
simplegan
Tensorflow-based framework to ease training of generative models
Stars: ✭ 19 (-72.86%)
Mutual labels:  generative-adversarial-network, generative-model
VQGAN-CLIP-Docker
Zero-Shot Text-to-Image Generation VQGAN+CLIP Dockerized
Stars: ✭ 58 (-17.14%)
Mutual labels:  generative-adversarial-network, generative-art
MMD-GAN
Improving MMD-GAN training with repulsive loss function
Stars: ✭ 82 (+17.14%)
Mutual labels:  generative-adversarial-network, generative-model
coursera-gan-specialization
Programming assignments and quizzes from all courses within the GANs specialization offered by deeplearning.ai
Stars: ✭ 277 (+295.71%)
Mutual labels:  generative-adversarial-network, generative-model
Makegirlsmoe web
Create Anime Characters with MakeGirlsMoe
Stars: ✭ 3,144 (+4391.43%)
Mutual labels:  generative-adversarial-network, anime
Cadgan
ICML 2019. Turn a pre-trained GAN model into a content-addressable model without retraining.
Stars: ✭ 19 (-72.86%)
Mutual labels:  generative-adversarial-network, generative-model

Conditional AnimeGAN

PyTorch implementation of conditional Generative Adversarial Network (cGAN) for Anime face generation conditioned on eye color and hair color.

Generated Data Animation

Row-1: Brown Eyes Blonde Hair
Row-2: Blue Eyes Blue Hair
Row-3: Red Eyes Green Hair
Row-4: Purple Eyes Orange Hair
Row-5: Green Eyes Purple Hair
Row-6: Aqua Eyes Pink Hair

You can download the dataset from the following repo.

Training

Download the data and place it in the data/ directory. (Optional) Run prepro.py to clean and preprocess the data. Run train.py to start training. To change the hyperparameters of the network, update the values in the param dictionary in train.py. Checkpoints will be saved by default in the checkpoint directory every 2 epochs. By deafult, GPU will be used for training if available. (Training on CPU is not recommended)

Loss Curve

Training Loss Curves

D: Discriminator, G: Generator

Generating New Images

To generate new images run generate.py.

python3 generate.py -load_path /path/to/pth/checkpoint -num_output n -eye_color c1 -hair_color c2
  • Possible colors for eyes
['yellow', 'gray', 'blue', 'brown', 'red', 'green', 'purple', 'orange',
 'black', 'aqua', 'pink', 'bicolored']
  • Possible colors for hair
['gray', 'blue', 'brown', 'red', 'blonde', 'green', 'purple', 'orange',
 'black', 'aqua', 'pink', 'white']

Results

Training Data cDCGAN after 50 epochs

Some Generated Samples:

Blue Eyes Blonde Hair
Blue Eyes Blonde Hair
Red Eyes Blonde Hair
Red Eyes Blonde Hair
Green Eyes Purple Hair
Green Eyes Purple Hair
Red Eyes Green Hair
Red Eyes Green Hair
Aqua Eyes Pink Hair
Aqua Eyes Pink Hair
Red Eyes Purple Hair
Red Eyes Purple Hair

References

  1. Mehdi Mirza, Simon Osindero. Conditional Generative Adversarial Nets. [arxiv]
  2. Scott Reed, Zeynep Akata, Xinchen Yan, Lajanugen Logeswaran, Bernt Schiele, Honglak Lee. Generative Adversarial Text to Image Synthesis. [arxiv]
  3. m516825/Conditional-GAN [repo]
  4. soumith/ganhacks [repo]
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].