#117 · Primary category: Image Generation

Paint-by-Example

computer-vision deep-learning diffusion-models image-editing image-generation image-manipulation paint-by-example pytorch stable-diffusion

Paint by Example: Exemplar-based Image Editing with Diffusion Models

Project last updated:11/28/23

GitHub Stars

1.3K

Forks

113

Contributors

7

License

Other

Why we included this project

Image editors and designers who need precise control over a repaint will like this project's approach: instead of describing the change in words, you supply a mask and a reference image, and the diffusion model repaints the masked area to match the reference. That distinction matters when you want, say, a garment swapped for another garment's style shown in a sample photo. The method runs a single forward pass, so it's easy to reason about and integrate, and the repo includes training and inference code plus a quantitative test benchmark for reproducibility. A live Hugging Face demo gets you from paper to a working edit quickly.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category