AP Profile picture
AP
generative experiments ๐Ÿงช

Dec 5, 2022, 15 tweets

Stop overpaying for Dreambooth training!

Here's a low-code tutorial for training your own Dreambooth models for under 50 cents ๐Ÿ‘‡๐Ÿพ

1/ Create a Hugging Face account! This is the ML Ops tool that we will be using ๐Ÿค—

2/ Head to this link: bit.ly/3FAseN3

Click on Duplicate Space.

3/ Give your space a name, set to private, and duplicate.

4/ After a few minutes, your space will have duplicated!

Now we need to attribute a GPU. Click on the circled link.

5/ We're going to go with a T4 medium. Click on T4 medium -- here you will enter your payment details.

6/ Now we do a bit more waiting. Click on the "App" icon on the top left. This will take you back to your work space!

7/ We're running!

Now decide what you want to train. Here we will select a person. Choose which base model you want to use.

Upload the photos for training (ex. 8 photos of yourself). Make sure all images are 512x512.

Now assign a token name, use something unique like "tstr1".

8/ We can see the estimate, cheaper than 50 cents!

Beginners: I do not recommend messing with custom settings.

Make sure to check the "remove GPU". This makes sure you aren't charged after training.

Name your model, save to profile, add your HF write token, and start training.

9/ Time for a walk! Training can take anywhere from 20 minutes to hours depending on the image data set.

10/ Click on the top left HuggingFace logo to enter your activity.

Here you will see the model you just built! Exciting!

Click on the model to proceed.

11/ Now we can test our model! Type your prompt along with your instance token here:

12/ Within files, you can download the .cpkt file to upload into Automatic1111 or your UI of choice.

Now you can get to experimenting! All for cheaper than a $1!!

Compare that to the $10+ that Dreambooth services charge per model ๐Ÿ˜ฑ

13/ If you found this useful, please help share by RTing or liking!

14/ Are you looking to implement generative AI tooling into your workflow? Fill out this form to get started today: bit.ly/3gWpRdU

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling