How I trained Stable Diffusion to generate pictures of myself?

This tutorial describes how I used DreamBooth from Google Research’s paper DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation. To train a Generative AI model able to create images of myself.

The paper presents itself like this:

It’s like a photo booth, but once the subject is captured, it can be synthesized wherever your dreams take you…

Examples of images generated by DreamBooth

Hugging Face , known for making machine learning models accessible, incorporated DreamBooth into their ecosystem in September this year. That was a game changer in terms of the usability of DreamBooth.

Steps for training the model

The whole process was quite straightforward once I found a notebook that works fine. The Generative AI field has been evolving fast in the last couple of months, and because of that, many implementations are outdated or simply broken due to dependencies that have changed.

Read More