Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anime face using DCGAN #67

Merged
merged 5 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions anime-faces-dcgan/Dataset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Anime Faces Dataset

Curated collection of 63,632 high-quality anime faces for diverse projects involving anime character generation.

## Link: https://www.kaggle.com/datasets/splcher/animefacedataset

## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Usage](#usage)
- [Contributing](#contributing)

## Introduction

Welcome to the Anime Faces Dataset – a meticulously curated collection of 63,632 high-quality anime faces, offering a versatile playground for researchers, developers, and enthusiasts interested in exploring the vibrant world of anime character generation. Each face in this dataset is a masterpiece, capturing the diverse expressions and styles that make anime characters enchanting.

## Features

- **High Quality**: Each face is handpicked to ensure intricate details and vibrant colors.
- **Diversity**: Explore a wide range of expressions, from cute and whimsical to fierce and determined.
- **Up-to-Date**: The dataset is regularly maintained to stay current with evolving anime character aesthetics.
- **Versatile Usage**: Ideal for machine learning, computer vision, and fun projects like anime waifu generation.

## Contributing
-We welcome contributions to enhance the dataset further. If you have high-quality anime faces to share or interesting scripts for generating anime waifus


Binary file added anime-faces-dcgan/Images/adcgan1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anime-faces-dcgan/Images/adcgan2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anime-faces-dcgan/Images/adcgan3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anime-faces-dcgan/Images/adcgan4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added anime-faces-dcgan/Images/adcgan5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions anime-faces-dcgan/Model/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# DCGAN Anime Face Generation

Generate anime faces using a Deep Convolutional Generative Adversarial Network (DCGAN) – an exciting project for creating realistic and diverse anime-style images.

## Table of Contents
- [Introduction](#introduction)
- [Generator](#generator)
- [Discriminator](#discriminator)
- [Example Data](#example-data)
- [Results](#results)


## Introduction

This project utilizes a DCGAN architecture to generate anime faces, employing a combination of a generator and discriminator to create high-quality and diverse anime-style portraits.

## Generator

![Generator Architecture](https://github.com/adi271001/GenAI-Projects/blob/Anime-GAN/anime-faces-dcgan/Images/adcgan2.png)


## Discriminator

![Discriminator Architecture](https://github.com/adi271001/GenAI-Projects/blob/Anime-GAN/anime-faces-dcgan/Images/adcgan3.png)


## Example Data
.

![Example Anime Faces](https://github.com/adi271001/GenAI-Projects/blob/Anime-GAN/anime-faces-dcgan/Images/adcgan1.png)

## Results

Model Gave high accuracy of 93% with minimal loss

![Generated Anime Faces](https://github.com/adi271001/GenAI-Projects/blob/Anime-GAN/anime-faces-dcgan/Images/adcgan4.png)

Graph Showcasing loss of generator and discriminator

![Generated Anime Faces](https://github.com/adi271001/GenAI-Projects/blob/Anime-GAN/anime-faces-dcgan/Images/adcgan5.png)

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions anime-faces-dcgan/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Anime Face Generation with DCGAN

Generate high-quality anime faces using Deep Convolutional Generative Adversarial Networks (DCGANs) – an exciting project for exploring the creative realm of artificial intelligence and anime character design.

## Table of Contents
- [Introduction](#introduction)
- [Features](#features)

## Introduction

Anime Face Generation with DCGAN is a project that leverages deep learning techniques to create new and unique anime faces. DCGANs are known for their ability to generate realistic images, making them an ideal choice for synthesizing anime character portraits. This project provides a foundation for both learning about DCGANs and producing captivating anime-style images.

## Features

- **DCGAN Architecture**: Implement the DCGAN model with convolutional layers for effective image generation.
- **Anime-Specific Training Data**: Train the model on a dataset containing high-quality anime faces.
- **Customization**: Experiment with hyperparameters and model configurations to achieve diverse and interesting results.
- **User-Friendly Interface**: A simple and intuitive interface for generating anime faces with the trained model.
6 changes: 6 additions & 0 deletions anime-faces-dcgan/requirement.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tensorflow==2.8.0
numpy==1.21.2
pandas==1.3.3
matplotlib==3.4.3
seaborn==0.11.2
Pillow==8.3.1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.