Skip to content

K3dA2/Diffusion-Model

Repository files navigation

Diffusion Model Repository (Unofficially called Waifu Diffusion 🙃)

Welcome to the Diffusion Model Repository! This repository contains implementations of various small diffusion models developed by Ayanfe. Currently, the repository is undergoing training and experimentation, and it serves as a store for implementations of diffusion models.

About the Diffusion Model

Diffusion models are a class of generative models used for image synthesis and manipulation. They operate by iteratively applying noise to an input image and gradually refining it to generate realistic samples. These models have shown promising results in various computer vision tasks, including image generation, inpainting, and super-resolution.

Training Status

The diffusion model in this repository is currently undergoing training. The training process is being conducted on a 16' M1 Max MacBook Pro, with occasional usage of Google Colab when feasible (due to limitations of the free tier). As of now, the model is on its 12th epoch of training.

Repository Structure

The repository is organized as follows:

models/: Where I plan on storing all implemented models eventually. inference_images/: Images showcasing inference results from the diffusion model. utils/: Utility functions and scripts used in model training.

Usage

To utilize the diffusion model implementations in this repository, follow these steps:

Clone the repository to your local machine:

git clone https://github.com/K3dA2/Diffusion-Model.git

Install the required dependencies. Ensure that you have Python and the necessary libraries installed:

Inference Results

Here are some of my favorite results from the old base model :) (Remeber its still training)

Epoch 4 Epoch 5

Epoch 8 Epoch 9

Epoch 10 Epoch 12

Epoch 12 Epoch 12

Images From New Model

fbe4725d-63c9-45c7-8ecd-b979926cc658 215f043b-c4ca-4ec2-bf6c-248e453cb4a8

7916e7a5-eb58-49b8-b2ce-4ec74b64f4cc f38b5054-552b-448e-ba46-193a0ffbff8b

Dataset

I'm currently using a subset (30k Images) of this Anime Face Dataset.

Future Plans

In the future, I plan to continue expanding this repository with implementations of various small diffusion models. However, please note that the models included may not exceed 100 million parameters, considering the compute resources available for training.

Feedback and Contributions

Feedback, suggestions, and contributions to this repository are highly welcome! If you encounter any issues, have ideas for improvement, or wish to contribute your own implementations of diffusion models, please feel free to open an issue or submit a pull request.

Thank you for visiting the Diffusion Model Repository! Happy modeling!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published