Home
Softono
StableFace

StableFace

Open source MIT Jupyter Notebook
153
Stars
15
Forks
0
Issues
2
Watchers
1 year
Last Commit

About StableFace

Build your own Face App with Stable Diffusion 2.1

Platforms

Web Self-hosted

Languages

Jupyter Notebook

Links

StableFace

Buy Me A Coffee Twitter Open In Colab

Build your own Face App with Stable Diffusion 2.1 Base

https://github.com/OutofAi/StableFace/assets/145302363/6e9e414a-f3da-47ca-9ad6-61b4bbf9e198

A set of simple notebooks to create a clear understanding on Stable Diffusion aspects like sampling, architecture, CFG, attention layers, inverse scheduler, pivotal inversion, image reconsutrction and prompt2prompt editting which we utilise to achieve hyperreaslitic results to edit any real-world face and build a pipeline to build your own face app.

(You can skip to Chapter 7 if you are already familiar with the basics of SD)

||| |:--------|:---------------:| | Chapter 1: Sampling but not Inference
A Simple example of how to create/sample an image with diffusers pipeline

| Open In Colab | | Chapter 2: Stable Diffusion Dissected
Exploring the individual elements that results in image generation

| Open In Colab | | Chapter 3: Spicing it up with CFG
Exploring Classifier-Free Guidance to enhance image generation.

| Open In Colab | | Chapter 4: Attention, Please!
Overriding attention layer tomanipulate image generation process

| Open In Colab | | Chapter 5: Attention Switcheroo
Shared cross-attention layers between multiple images.

| Open In Colab | | Chapter 6: Reality Check
DDIM-inversion and pivotal tuning for accurate image reconstruction.

| Open In Colab | | Chapter 7: FaceApp, Who?
Synthesise learnings to create an advanced facial feature editing system.

| Open In Colab |

||| |:--------|:---------------:| | Appendix 1: FaceApp, XL!!
SD XL based face editing with corrective actions.

| Open In Colab |