Training (Fine-Tuning) Your Own Stable Diffusion Model Using Colab

preview_player
Показать описание
IMPORTANT NOTE: YOU CANNOT RUN THIS CODE WITHOUT UPGRADING TO COLAB PRO

Training, or Fine-Tuning, your Stable Diffusion model cannot be easier with DreamBooth! Using Google Colab, I will walk you through generating images with specific subjects, objects, or styles!

👀 Struggling to run Stable Diffusion locally? You can try DiffusionHub!
🤑Get 20% MORE DiffusionHub CREDIT using the link below or using the promo code LAURA20!

🤙🏻 Follow me on Medium to get my Newsletter:

📰 Article:

📌 Links:

00:43 What is Fine-Tuning?
00:53 What is DreamBooth?
03:09 Open the Colab Notebook
03:33 Connect Colab to Google Drive
03:51 Install Dependencies
04:05 Model Download/Load
05:32 Create a New Session
06:29 Load an Existing Session
07:10 Upload Instance Images
11:32 Captions
12:53 Concept Images (Heavy Regularization)
14:05 Training the Model
19:36 Test the Trained Model
20:05 Create Images w/Stable Diffusion
25:30 Upload Model to Hugging Face

#aiart #stablediffusion #generativeart #googlecolab #colab #training #dreambooth #modeltrains #stablediffusionai #stablediffusiontutorial
Рекомендации по теме
Комментарии
Автор

Note that the name of the instance images needs to represent the unique identifier. Need to call that name when writing the prompt!

LaCarnevali
Автор

Great job thanks! Could you explain hot to train Lora, in order to use combined with other models

MiguelFolgado-ut
Автор

Very cool and clear. Thanks again Laura!

calvinlparks
Автор

this is what i was looking for! thank u so much!

killzann
Автор

Welcome to Thailand :) im one of your fans, hope you really enjoy your holiday.

aouzestudio
Автор

Hey Laura, thank you so much for this amazing Video! I have a question though: Whenever I reach the section "test the train model" I won't get a URL for my Model, but receive this message: " ModuleNotFoundError: No module named 'cchardet' " Why is that and how can I fix it? Thank you so much in advance!

Selavie-xpnk
Автор

Thanks for the tutorial, but now the localtunnel asks for IP. Where I can find the IP address required by local tunnel?

blacksyan
Автор

please part two, a way so that the image does not display hand or body errors🙏🙏

yanex
Автор

hello Laura, I have trained my model and I have used it. but now i want to use that trained model again. so I enter session name and it says session loaded, but now I don't know what to do next. please help me. thanks in advance.

fatima
Автор

Thank you for this video, it can be frustrating when you don't really understand what's going on and are just following tutorials

dnvrgasarenoso
Автор

Hi Laura, on the "Training" part of the Google Collab I get the error "No model found, use the "Model Download" cell to download a model.". When looking at the python code it's getting stuck in the while not Resume_Training and MODEL_NAME=="": loop. Any suggestions? Not sure what I did wrong.

mrkeyzzz
Автор

Excellent video and very well explained.

ekkamailax
Автор

Hey Laura, awesome vid. I have a question though. In the training part, when I run the code, the training starts and after a minute, when it gets to the "training the Unet" part it stops, the code at the bottom says something like "something went wrong" although there is a green check mark next to the play button you click to run the code on the colab notebook. Any ideas?

eduardocambiaso
Автор

Hello Laura I try to follow your lecture, but there is some issue.
I finished training model, and want to go in to the local tunnel url, but The site want me some tunnel creator's Ip address. How can I solve it?

최도윤-wc
Автор

So, Question Do you have to train in the landscape and over all backgrounds as well. It seems like no matter what i say it just give me a cool looking gradient color in the background with a nice image. Then when I ((---)) force it. It messes up the image nearly completely. Any thoughts

AlexsForestAdventureChannel
Автор

Forgot how to do it and came back, still an awesome video :D thanks again

SevannM
Автор

Hello! Thanks for great tutorial! I have a problem on the step Upload Model to Hugging Face. Google colab deletes the runtime and displays a message that it does not support this action (apparently, loading the model on hugging face). Could anyone help me fix this error, please? 🙏

МарияУльянова-бт
Автор

Good video, but could you uuse the screen recording of the full screen? It's kind of confusing when it jumped around when the video is cut. And super zoomed in i'm losing overview of where you are on the page.

stijnvaneeckhoutte
Автор

Hi, has someone the link with the second part? I want to know how to continue with the training if Colab doesn´t allow me to continue using the GPU.
Thanks for the video Laura!!

angel_rf
Автор

hi - do you have a tutorial on how to create the folder "LaCarnevali/Laura-test"? I have the batch of images, i have stable diffusion running but im trying to train a LoRA based on my own images. Im doing all this on a mac. Also - LOVE your videos - keep up the good work!

j