Downloads · 30 days
0
mmdbes/VAE-Anime-Face-Generator
VAE-Anime-Face-Generator is a machine learning model from mmdbes. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This repository contains the code and a trained model for generating anime character faces using a Variational Autoencoder (VAE). The VAE is trained on the Anime Face Dataset to learn a compressed, latent representati…
Downloads · 30 days
0
Access
Public
Updated Jul 18, 2025
Repo size
—
Likes
1
Public
Click a slice to open those files.
.ipynb604 KB · 99%
From the Hugging Face model README
This repository contains the code and a trained model for generating anime character faces using a Variational Autoencoder (VAE). The VAE is trained on the Anime Face Dataset to learn a compressed, latent representation of the faces, which can then be sampled to generate new, unique images.
VAE Implementation: A complete implementation of a Variational Autoencoder in Python. Image Reconstruction: The model can take an existing anime face and reconstruct it. New Image Generation: Generate brand-new anime faces by sampling from a normal distribution in the latent space[cite: 25]. Latent Space Exploration: The included notebook allows for experimenting with latent space parameters to see how they affect the generated images[cite: 27, 28].
The model is a Variational Autoencoder, which consists of two main parts: an encoder and a decoder. The encoder maps an input image to a lower-dimensional latent space, and the decoder reconstructs the image from this latent representation.
The loss function is a combination of two terms: