Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/OutofAi/StableFace
Build your own Face App with Stable Diffusion 2.1
https://github.com/OutofAi/StableFace
attention-is-all-you-need ddim-inversion diffusion-models faceapp generative-ai generativeai image-editing image-editing-app image-reconstruction photo-editing-app pivotal-inversion prompt2prompt sampling-distribution stable-diffusion stable-diffusion-2-1 stableface transformers
Last synced: 3 months ago
JSON representation
Build your own Face App with Stable Diffusion 2.1
- Host: GitHub
- URL: https://github.com/OutofAi/StableFace
- Owner: OutofAi
- License: mit
- Created: 2024-06-29T09:28:53.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T10:18:17.000Z (4 months ago)
- Last Synced: 2024-08-22T11:49:21.742Z (4 months ago)
- Topics: attention-is-all-you-need, ddim-inversion, diffusion-models, faceapp, generative-ai, generativeai, image-editing, image-editing-app, image-reconstruction, photo-editing-app, pivotal-inversion, prompt2prompt, sampling-distribution, stable-diffusion, stable-diffusion-2-1, stableface, transformers
- Language: Jupyter Notebook
- Homepage:
- Size: 1.91 MB
- Stars: 132
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# StableFace
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Ashleigh%20Watson)](https://twitter.com/OutofAi)
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Alex%20Nasa)](https://twitter.com/banterless_ai)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/StableFace/blob/main/CH7_stable_face.ipynb)## Build your own Face App with Stable Diffusion 2.1 Base
https://github.com/OutofAi/StableFace/assets/145302363/6e9e414a-f3da-47ca-9ad6-61b4bbf9e198A 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*
Using the pipeline to generate an image.
| [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/StableFace/blob/main/CH1_sampling.ipynb) |
| *Chapter 2: Stable Diffusion Dissected*
Stable Diffusion architecture and components.
| [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/StableFace/blob/main/CH2_breakdown.ipynb) |
| *Chapter 3: Spicing it up with CFG*
Classifier-Free Guidance to enhance image generation.
| [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/StableFace/blob/main/CH3_CFG.ipynb) |
| *Chapter 4: Attention, Please!*
Override attention mechanisms to manipulate image generation process.
| [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/StableFace/blob/main/CH4_attention_breakdown.ipynb) |
| *Chapter 5: Attention Switcheroo*
Shared cross-attention layers between multiple images.
| [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/StableFace/blob/main/CH5_attention_replace.ipynb) |
| *Chapter 6: Reality Check*
DDIM-inversion and pivotal tuning for accurate image reconstruction.
| [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/StableFace/blob/main/CH6_reconstruction.ipynb) |
| *Chapter 7: FaceApp, Who?*
Synthesise learnings to create an advanced facial feature editing system.
| [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/OutofAi/StableFace/blob/main/CH7_stable_face.ipynb) |