How To Do Stable Diffusion XL (SDXL) DreamBooth Training For Free - Utilizing Kaggle - Easy Tutorial

preview_player
Показать описание
🌟 Master Stable Diffusion XL Training on Kaggle for Free! 🌟 Welcome to this comprehensive tutorial where I'll be guiding you through the exciting world of setting up and training Stable Diffusion XL (SDXL) with Kohya on a free Kaggle account. This video is your one-stop resource for learning everything from initiating a Kaggle session with dual T4 GPUs to fine-tuning your SDXL model for optimal performance.

#Kaggle #StableDiffusion #SDXL

Notebook ⤵️

Tutorial GitHub Readme File ⤵️

0:00 Introduction To The Kaggle Free SDXL DreamBooth Training Tutorial
2:01 How to register Kaggle account and login
2:26 Where to and how to download Kaggle training notebook for Kohya GUI
2:47 How to import / load downloaded Kaggle Kohya GUI training notebook
3:08 How to enable GPUs and Internet on your Kaggle session
3:52 How to start your Kaggle session / cloud machine
4:02 How to see your Kaggle given free hardware features
4:18 How to install Kohya GUI on a Kaggle notebook
4:46 How to know when the Kohya GUI installation has been completed on a Kaggle notebook
5:00 How to download regularization images before starting training
5:22 Introduction to the classification dataset that I prepared
6:35 How to setup and enter your token to use Kohya Web UI on Kaggle
8:20 How to load pre-prepared configuration json file on Kohya GUI
8:48 How to do Dataset Preparation after configuration loaded
8:59 How to upload your training dataset to your Kaggle session
9:12 Properties of my training images dataset
9:22 What kind of training dataset is good and why
10:06 How to upload any data to Kaggle and use it on your notebook
10:20 How to use previously composed Kaggle dataset in your new Kaggle session
10:34 How to get path of session included dataset
10:44 Why do I train with 100 repeating and 1 epoch
10:54 Explanation of 1 epoch and how to calculate epochs
11:23 How to set path of regularization images
11:33 How to set instance prompt and why we set it to a rare token
11:46 How to set destination directory and model output into temp disk space
12:29 How to set Kaggle temporary models folder path
13:07 How many GB temporary space do Kaggle provides us for free
13:23 Which parameters you need to set on Kohya GUI before starting training
13:33 How to calculate the N number of save every N steps parameter to save checkpoints
13:45 How to calculate total number of steps that your Kohya Stable Diffusion going to take
14:10 If I want to take 5 checkpoints what number of steps I need calculation
14:33 How to download saved configuration json file
14:43 Click start training and training starts
14:55 Can we combine both GPU VRAM and use as a single VRAM
15:05 How we are setting the base model that it will do training
15:55 The SDXL full DreamBooth training speed we get on a free Kaggle notebook
16:51 Can you close your browser or computer during training
17:54 Can we download models during training
18:26 Training has been completed
18:57 How to prevent last checkpoint to be saved 2 times
19:30 How to download generated checkpoints / model files
21:11 How you will know the download status when downloading from Kaggle working directory
22:03 How to upload generated checkpoints / model files into Hugging Face for blazing fast upload and download
25:02 Where to find Hugging Face uploaded models after upload has been completed
26:54 Explanation of why generated last 2 checkpoints are duplicate
27:27 Hugging Face upload started and the amazing speed of the upload
27:49 All uploads have been completed now how to download them
29:02 Download speed from Hugging Face repository
29:17 How to terminate your Kaggle session
29:36 Where to see how much GPU time you have left for free on Kaggle for that week
29:46 How to make a fresh installation of Automatic1111 SD Web UI
31:05 How to download Hugging Face uploaded models with wget very fast
31:57 Which settings to set on a freshly installed Automatic1111 Web UI, e.g. VAE quick selection
32:07 How to install after detailer (adetailer) extension to improve faces automatically
32:51 Why you should add --no-half-vae to your command line arguments
33:05 How to start / restart Automatic1111 Web UI
33:37 How switch to the development branch of Automatic1111 Web UI to use latest version
34:24 Where to download amazing prompts list for DreamBooth trained models
35:07 How to use PNG info to quickly load prompts
35:52 How to do x/y/z checkpoint comparison to find the best checkpoint of your SDXL DreamBooth training
38:09 How to make SDXL work faster on weak GPUs
38:37 How to analyze results of x/y/z checkpoint comparison to decide best checkpoint
42:06 How to obtain better images
42:20 How to install TensorRT and use it to generate images very fast with same quality
44:41 How to use amazing prompt list as a list txt file
Рекомендации по теме
Комментарии
Автор

If I have been of assistance to you and you would like to show your support for my work, please consider becoming a patron on 🥰 ⤵
Technology & Science: News, Tips, Tutorials, Tricks, Best Applications, Guides, Reviews ⤵
Playlist of StableDiffusion Tutorials, Automatic1111 and Google Colab Guides, DreamBooth, Textual Inversion / Embedding, LoRA, AI Upscaling, Pix2Pix, Img2Img ⤵

SECourses
Автор

Thank you Furkan for your hard work. Your results and observations are really helpful. I really appreciate it.

VietnamShorts
Автор

Hocam Allah razı olsun, çok makbül geçti. Teşekkürler. Patreon dersleriniz sürekli güncelleniyor, buda ayrı bir güzellik.

ArslanTEZEL-zy
Автор

When do you release this public version

sajinscartoonvine
Автор

Sir, now there is new version of kohya gui, which version is this? on which u have made video. Also can u guide about new version

mojay_
Автор

hocam 15 fotoğraf eğittim. generate basınca garip renkli şekiller çıkıyor kişi fotoğrafı oluşturmuyor. çözünürlük 1024x1024 denenim olmadı. CFG 1 denedim olmadı düzelmiyor. sebebi ne olabilir?

Düzeltme: sd_xl_base_1.0.safetensors, sd_xl_refiner_1.0.safetensors dosyaları eksik olduğu içinmiş. Yorumu kaldırmıyorum belki sorunu yaşayan çözebilir.

emrey
Автор

thank you so much for this awesome notebook, may you please tell me how can I do the same for the S.D 1.5 and lora training? like getting the base models and all other important things?

KriGeta
Автор

I don't know what you made a full video you here while we need to get the notebook from Patreon!

metallmad
Автор

Have you tried IP adapter? Any videos on that?

srujanagattupalli
Автор

I use the suggest config train dreambooth, but the result is not satisfied with me, it not stablely generate the woman, my train dataset have 25 images and i train on the sdxl base1.0, and repeat 300, what's the reason, did you just select some good image from Lots of generated images

minmin-wyrx
Автор

Hey did you saw there is a stable video diffusion model to use with comfyui ?

Next year we will create our own loras and checkpoints for videos the same we did it this year for images

ArtificialBeauties
Автор

Sir I have just one question for you . Why dont you make a video on how we can Fine Tune SDXL on our own Image caption dataset ??? On free tier colab or other alternative . Because this is the most important problem which no yotuber is solving .

PheonixStudy
Автор

whats the different in all this so called model training Verses just using a prompt with Face swap?

A-Eye--A
Автор

Hi there, thank you for this. If I wanted to have more checkpoints, is there any other setting I'd have to change (besides dividing 2600 by a different number than 5 when setting "Save every N steps" parameter)? Is it even possible given each one is ~7 GB and Kaggle wouldn't have room for more checkpoints anyway?

jamespaterson
Автор

Thanks for the update.
To follow this tutorial, we have to register to your Patreon to download the notebook file, right?

TomiTom
Автор

Please do a video on how to build SDXL using both Dreambooth and LORA

AasthaKumar-vc
Автор

Are SDXL Turbo models trainable with Dreambooth?

sz
Автор

what that also make sense to train for specific tattoo styles? or is it best to "just" train a lora and us that

chrisrosch
Автор

@SEcourses

Do you do freelance work?

williamdavis
Автор

waiting for new tutorial becuase I'm getting errors with cuda and bitsandbytes

LuissSee