SDXL 1.0 Dreambooth LoRA Fine-Tuning!

  Рет қаралды 11,197

1littlecoder

1littlecoder

9 ай бұрын

Resources:
AutoTrain Advanced - github.com/huggingface/autotr...
Dreambooth Training Colab - colab.research.google.com/git...
Also, Abhishek Thakur has a cool YT Channel - @abhishekkrthakur
❤️ If you want to support the channel ❤️
Support here:
Patreon - / 1littlecoder
Ko-Fi - ko-fi.com/1littlecoder

Пікірлер: 58
@behrampatel4872
@behrampatel4872 2 ай бұрын
Thanks for the tutorial. Is there a way to get the collab notebook to use your own local GPU so the training can run faster ? Thanks
@learnweb3603
@learnweb3603 9 ай бұрын
Bro, do run the refiner as well, can't we load only refiner or is it mandatory to load both base and refiner, because when I am just generating refiner and commenting out the image line while prompt giving me an error Image not defined. Could you please explain this Thank you
5 ай бұрын
these safetensors lora is not recognizing by Automatic111 nor ComfyUI, cant see them in lora tab. What to do? should we convert this dreambooth to normal sdxl or so?
@360_SA
@360_SA 9 ай бұрын
great video can I use it locally if I have powerful GPU. Can I train it for example building for an architect
@flamescales7422
@flamescales7422 9 ай бұрын
Thanks man, i was always looking for a Google colab notebook for training lora And how do I train in "style"?
@learnweb3603
@learnweb3603 9 ай бұрын
Amazing job bro , testing it out
@bfvto
@bfvto 3 ай бұрын
Thanks for the video. Do you know if you can use this Lora model with Automactic1111 ? I can’t seem to get it work
@pushakargaikwad9402
@pushakargaikwad9402 9 ай бұрын
Is the trained model a LoRA file that we put inside lora folder in Automatic1111 or is it a standalone complete model checkpoint?
@1littlecoder
@1littlecoder 9 ай бұрын
It's a Lora file. You need to put inside lora folder.
@pushakargaikwad9402
@pushakargaikwad9402 9 ай бұрын
@@1littlecoder Thanks
@bfvto
@bfvto 3 ай бұрын
did you get it working with A1111 ? I put it in the lora folder, but doesn't work@@1littlecoder
@luciolrv
@luciolrv 8 ай бұрын
Great video! Have you seen any project that includes two sks classes together, like sks person and sks dog? I have seen in HuggingFace some datasets that include two different folders of datasets, but it is not clear what they are used for.
@1littlecoder
@1littlecoder 8 ай бұрын
They use LoRA merge to to merge two concepts. Look for LoRA roulette on Hugging Face spaces
@user-bf8rs6zh7l
@user-bf8rs6zh7l 4 ай бұрын
how you have manage the issues like this installing diiferent versions of typing-extensions
@CreatingUtopia
@CreatingUtopia 3 ай бұрын
yes I am also getting this error while requirement installation
@estrangeiroemtodaparte
@estrangeiroemtodaparte 9 ай бұрын
Hey, mate. What resolution did you use for the input images? Thanks!
@1littlecoder
@1littlecoder 9 ай бұрын
I tried to use any sort of square images. But 1024 should be ideal.
@estrangeiroemtodaparte
@estrangeiroemtodaparte 9 ай бұрын
@@1littlecoder Awesome, thanks!!
@iRushab
@iRushab 6 ай бұрын
Bor after the pytorch_lora_weights.safetensors is created and I hit the Inference play button, nothing happens. It just says 0 sec and a green tick pops up but I cannot find the newly generated images.
@soumyadeephalder6505
@soumyadeephalder6505 4 ай бұрын
remove those "#" at the starting of all the lines
@Tripp111
@Tripp111 9 ай бұрын
Thank you! ❤️🍕
@1littlecoder
@1littlecoder 9 ай бұрын
You're welcome
@rashedulkabir6227
@rashedulkabir6227 9 ай бұрын
Can a person generate unlimited images using this method?
@sekhardhana3453
@sekhardhana3453 9 ай бұрын
Awesome bro
@1littlecoder
@1littlecoder 9 ай бұрын
Thanks 🤗
@vishalpanjeta2176
@vishalpanjeta2176 9 ай бұрын
How many images do you think should be enough to generate decent photorealistic images?
@xiaojinyusaudiobookswebnov4951
@xiaojinyusaudiobookswebnov4951 9 ай бұрын
I think about 10-20 depends on how different your face is. (It will better recognize western europoean faces more than say asian faces)
@user-rq2th4nj3h
@user-rq2th4nj3h 9 ай бұрын
Can you give me your training data?@@xiaojinyusaudiobookswebnov4951
@altahookah
@altahookah 6 ай бұрын
Hi! it shows this error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lida 0.0.10 requires kaleido, which is not installed. tensorflow-metadata 1.14.0 requires protobuf=3.20.3, but you have protobuf 4.23.4 which is incompatible. tensorflow-probability 0.22.0 requires typing-extensions
@shlokgupta4939
@shlokgupta4939 6 ай бұрын
is it fixed yet? I am facing the same issue.
@theflowwizard
@theflowwizard 6 ай бұрын
I'm also running against these dependency issues. If I continue the training fails with: File "/usr/local/lib/python3.10/dist-packages/autotrain/utils.py", line 280, in wrapper
@CreatingUtopia
@CreatingUtopia 3 ай бұрын
any solution?
@tanmaysharma6610
@tanmaysharma6610 9 ай бұрын
I have trained the model, but how do I run it now to create new images with my prompt?
@1littlecoder
@1littlecoder 9 ай бұрын
The code is there in the colab. If you use the LoRA adapter then you can use the invoke token like sks ans start prompting
@CreatingUtopia
@CreatingUtopia 3 ай бұрын
Hello Bro can you help me run this code? I am getting some unexpected errror like invalid argument gradient checkpoint etc
@stepphen_ffc5606
@stepphen_ffc5606 9 ай бұрын
Can i train clothes?
@walidflux
@walidflux 9 ай бұрын
the whole oint of sdlx is using the refiner after the generation and if you try to refin your images you will lose the the person you trained because he is not on the refiner model
@walidflux
@walidflux 9 ай бұрын
nevertheless thanks for sharing
@sdgaming5132
@sdgaming5132 8 ай бұрын
Bro I try for 6hr but I fail can You Pls make One image for me for Uploading one linkedin black suit image . I will send You my Image on online platform can You pls do it for me
@sanijurrhman4663
@sanijurrhman4663 9 ай бұрын
What pc requirements for this?
@un_know_n
@un_know_n 9 ай бұрын
just something with good gpu with 6gb or more vram and it might take 20 hour or even 30 kin depending upon how powerfull your GPU is
@un_know_n
@un_know_n 9 ай бұрын
but you'll h be using in collab then you just need good internet and nothing else as eveything is done on cloud so if youre planing to use collab then i highly suggest you to do so
@wpahp
@wpahp 9 ай бұрын
when I launch inference nothing is happening
@1littlecoder
@1littlecoder 9 ай бұрын
Did you launch with both the base and refiner models or only base model ? Did you see if there's any picture with created in your current folder
@wpahp
@wpahp 9 ай бұрын
@@1littlecoder i just followed your guide didn’t choose anything I think just trained the lora. Got the safetensor but nothing happens with the inference, although in your guide it looks different, values can be changed etc
@1littlecoder
@1littlecoder 9 ай бұрын
Did your inference code finish running?
@wpahp
@wpahp 9 ай бұрын
@@1littlecoder yeah it takes like a second
@1littlecoder
@1littlecoder 9 ай бұрын
In the left hand side (files and folder) is there something called generated image .
@chaowrestaurant1445
@chaowrestaurant1445 9 ай бұрын
Pls make a video on implementing MetaGPT
@huzaifaali5245
@huzaifaali5245 9 ай бұрын
error bro
@1littlecoder
@1littlecoder 9 ай бұрын
What's the error ?
@abhinav-wk3rp
@abhinav-wk3rp 9 ай бұрын
Error
@abhinav-wk3rp
@abhinav-wk3rp 9 ай бұрын
dist-packages/autotrain/cli/run_dreambooth.py", line 451, in __init__ raise ValueError("❌ Please specify a valid image directory") ValueError: ❌ Please specify a valid image directory
@HimanshuKumar-xh2ws
@HimanshuKumar-xh2ws 9 ай бұрын
same
@homomanushya3737
@homomanushya3737 8 ай бұрын
for some reason it is not loading the final image it is showing this: OutOfMemoryError Traceback (most recent call last) in () 27 seed = 42 28 generator = torch.Generator("cuda").manual_seed(seed) ---> 29 image = pipe(prompt=prompt, generator=generator).images[0] 30 image = refiner(prompt=prompt, generator=generator, image=image).images[0] 31 image.save(f"generated_image.png")
@1littlecoder
@1littlecoder 8 ай бұрын
I think you need to clear the memory and then redo the inference after downloading the model
Personalized Image Generation (using Dreambooth) explained!
17:45
Fine-tune SDXL with Replicate
25:44
fofr ai art and experiments
Рет қаралды 16 М.
狼来了的故事你们听过吗?#天使 #小丑 #超人不会飞
00:42
超人不会飞
Рет қаралды 57 МЛН
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 29 МЛН
I wish every AI Engineer could watch this.
33:49
1littlecoder
Рет қаралды 21 М.
[Tutorial] Create Your Own LoRA | Easy and Free! - Google Colab
14:50
Coding Was Hard Until I Learned THESE 5 Things!
7:40
Pooja Dutt
Рет қаралды 986 М.
Way Better Then Dreambooth! Custom AI Models Based on Your Photos!
7:14
LORA + Checkpoint Model Training GUIDE - Get the BEST RESULTS super easy
34:38
Finetuning with Dreambooth (7.5)
6:16
Jeff Heaton
Рет қаралды 2,1 М.
Quickstart: Training a stable diffusion model using kohya_ss GUI
21:31
Bernard Maltais
Рет қаралды 42 М.
LORA training EXPLAINED for beginners
27:33
Not4Talent
Рет қаралды 88 М.
狼来了的故事你们听过吗?#天使 #小丑 #超人不会飞
00:42
超人不会飞
Рет қаралды 57 МЛН