Skip to content

kmnis/comicface.ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turn Your Photos Into A Comic Book

Open HuggingFace

Table of contents

  1. Directory Structure
  2. Dataset
  3. Models
  4. Results

Directory Structure

./comicface-ai/*
  ├─ data - # The training dataset will go here. A few sample images are added for reference
  ├─ src - # Model architecture, data loading, and other utility scripts are saved here
  ├─ notebooks - # The notebooks show an end-to-end pipeline to train and infer the models. The notebook names are self-explanatory
  ├─ saved_models - # Trained models

Dataset

The dataset is sourced from Kaggle and contains 10,000 pairs of faces and their comic version. Each image is of 1024x1024 dimensions.

Models

Two different model architectures are tried for training: Convolutional Variational Autoencoder and Pix2Pix GAN.

Convolutional VAE

Model Architecture

Model Architecture

Training Progress

Convolutional VAE Training

Pix2Pix GAN

Model Architecture

Model Architecture

Pix2Pix GAN Training

Pix2Pix GAN Training

Results

Convolutional VAE Sample Results

Convolutional VAE Sample Results

Pix2Pix GAN Sample Results

Pix2Pix GAN Sample Results

About

Turn your photos into a comic book version of yourself

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages