Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soumik12345/animegan

A Deep Convolutional Generative Adversarial Network to generate Faces of Anime Characters
https://github.com/soumik12345/animegan

anime convolutional-neural-networks dcgan dcgan-tensorflow face gan generative-adversarial-network keras python tensorflow

Last synced: 4 days ago
JSON representation

A Deep Convolutional Generative Adversarial Network to generate Faces of Anime Characters

Awesome Lists containing this project

README

        

# AnimeGAN
A Deep Convolutional Generative Adversarial Network to generate Faces of Anime Characters

**Kaggle Notebook Link:** [https://www.kaggle.com/soumikrakshit/animegan](https://www.kaggle.com/soumikrakshit/animegan)

**Dataset Link:** [https://www.kaggle.com/soumikrakshit/anime-faces](https://www.kaggle.com/soumikrakshit/anime-faces)

## Dataset Sample
![Sample From the Dataset](./images/dataset-sample.png)

## AnimeGAN Architecture

AnimeGAN is based on the standard DCGAN architecture by Alec Radford, Luke Metz, Soumith Chintala. It mainly comprises of convolution layers without max pooling and fully connected layers. It uses convolutional stride and transposed convolution for the downsampling and the upsampling.

### Generator Architecture

![Generator Architecture](./images/generator.svg)

### Discriminator Architecture

![Discriminator Architecture](./images/discriminator.svg)

### Final Model

![Final Model Architecture](./images/gan.svg)

## Training AnimeGAN

The AnimeGAN was trained on 21551 anime face images from size `(64, 64)` and was trained for 15000 epochs for a batch size of 32 images using Nvidia Tesla K80 GPU in the Kaggle Kernel environment.

![Learning Faces](./images/training_process.gif)

## Training Results

![Learning Faces](./images/generator_loss.png)

![Learning Faces](./images/discriminator_loss.png)

![Learning Faces](./images/smaple_output.png)