LORA + Checkpoint Model Training GUIDE - Get the BEST RESULTS super easy

LORA + Checkpoint Model Training GUIDE - Get the BEST RESULTS super easy

Olivio Sarikas

1 год назад

302,237 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

YorkshireBloke
YorkshireBloke - 24.10.2023 23:22

Great guide, but none of the tools will install. Tried following the many instructions but it literally never works. I always get an error as soon as I run the bat file for Kohya. So I've given up trying to train models. Even with your guide literally nothing works, just endless errors all over the place.

Ответить
Nguyễn Kim Thắm
Nguyễn Kim Thắm - 24.10.2023 16:56

Thank for your tutorial, it really clear. I almost go to the end of Lora training, but the model output being .json file, not safetensor file. I try few time but still the same, did I doing wrong in a step. Please help!

Ответить
Zip Zip
Zip Zip - 24.10.2023 12:53

can you train on AMD on windows not linux

Ответить
Steakdriven Entertainment
Steakdriven Entertainment - 20.10.2023 03:01

So does every individual user have to train a model before they'll actually work?

Ответить
t1000
t1000 - 19.10.2023 12:31

My gpu isn't great unfortunately :(

Ответить
Flor
Flor - 19.10.2023 03:13

There have been a lot of updates for this method, It would be awesome if you could do a new video with all the updates. Anyway, thanks!!

Ответить
Sebastian Balog
Sebastian Balog - 15.10.2023 04:07

Can the same LORA be used also for videos with stablediffusion?

Ответить
Cultures Religions
Cultures Religions - 14.10.2023 21:26

I'm disapointed, you anounce checkpoint training but you end up training a LoRa!!!

Ответить
gunrunner35
gunrunner35 - 14.10.2023 19:40

I just downloaded Kohya ss and there is no gui-user.bat in there anymore. When I use gui.bat like the webpage says, it gets it started, but there is nothing to click on to have it open it in a web browser. So, you can't get to the GUI through the method you describe. I figured a work around by using the setup.bat file because I remembered seeing an option to use #5 where is says you can start the gui and open a web browser.

Ответить
ST Schwanitz
ST Schwanitz - 14.10.2023 16:00

Thank you for guiding me with this excellent video!

Ответить
popixel
popixel - 14.10.2023 03:34

For some reason it doesn't seem to work. I can't get it to write the txt files with the key words. It says that it's done, but never actually does anything.

Ответить
Cultures Religions
Cultures Religions - 13.10.2023 09:04

I was not able to train a lora with this tutorial, I have tried to ask for help on your discord server but did not get any up to now..

Ответить
pointlesspos
pointlesspos - 09.10.2023 20:34

Does this also work well for objects: if I wanted to do product placement in images, can I successfully train a model on a specific item, such as a car, laptop, etc?

Ответить
Jared Prince
Jared Prince - 06.10.2023 06:05

That tag manager is really cool, thanks for that.

Ответить
Vrchxn⃤
Vrchxn⃤ - 06.10.2023 02:11

Hello Olivio! What Laptop you were using in this video? I have RTX 3050 Ti and it only has 4gb vram, it is interesting that your laptop has 16gb vram.

Ответить
FingerPrint
FingerPrint - 28.09.2023 04:02

Hi, just installed Kohya_ss version v21.8.10 and it looks very different fro the one in the video and I cannot find how to generate caption.
Have you got any tutorial on that new version? Thanks

Ответить
dark azurr
dark azurr - 25.09.2023 23:54

when i press train i get CalledProcessError: Command '['J:\\kohya\\kohya_ss\\venv\\Scripts\\python.exe
ends with returned non-zero exit status 1.

this too: ValueError: torch.cuda.is_available() should be True but is False. xformers' memory efficient attention is only
available for GPU

confused this is new to me

Ответить
Garcia Bete
Garcia Bete - 25.09.2023 20:59

I have been following the steps of a tutorial on how to use LORA and stable difussion, but your file is safetensors and mine is a Json, does anyone know why?

Ответить
THE FABLE STUDIO
THE FABLE STUDIO - 24.09.2023 14:25

Your guide on LORA and Checkpoint Model Training is a game-changer. The merging trick you shared is pure gold. Subscribed! 🙌

Ответить
Jason Dulin
Jason Dulin - 21.09.2023 22:41

I completed my first training of a LORA based on close to 300 images. When it's finished, I'm left with all my epochs being close to 9mb and the LORA seems to have no effect when tried in ComfyUI. Am I missing something incredibly obvious?

Ответить
L'IA est ton ami
L'IA est ton ami - 18.09.2023 17:53

Kohya is a nightmare. Doesn't work at all. I don't recommend it

Ответить
E E
E E - 18.09.2023 17:53

Can we merge a lora model made with the SDXL base 1.0 with something like realistic vision?

Ответить
Scribblenautss
Scribblenautss - 13.09.2023 05:06

I dont know I followed the video and then my PC crashed when it ran the setup.bat file. I mean my PC flat out crashed, no response. I had to hard turn off my PC and turn it back on. It went through so many restarts while Windows was recovering. Thankfully no damage was done. But I wont be following this guide thats for sure.

Ответить
De Firm
De Firm - 12.09.2023 13:10

with my rtx3050 8gb vram, it take 88hours to train (15 image x 20 train x 10 epoch ) / 1 train batch size = total 3000 steps
i'm using max resolution 768,768

even if i change the resolution to 516x516
it still take a longer time

if i use lora, to train same size steps it take 12 hours

is it mean i need to upgrade my VGA, or are there still a way to fast the train?
I really wanted to make my own check point, i saw on another YT, they train their own model using like google colab,
i never used that before, or any other cloud base, but can i download the checkpoint to use on my computer later after train in cloud?
Edit :
I change the train batch size to 4 and max resolution to 516x516, now my total steps are 750
and i still need time 23 hours to finish the training :")

Ответить
Andy Gee
Andy Gee - 09.09.2023 03:46

I had a weird problem that took a day to figure out, it turned out that this json file was empty, I renamed the hugging face directory and it was re-downloaded.

Loading vocab file C:\Users\Andy/.cache\huggingface\hub\models--openai--clip-vit-large-patch14\snapshots\8d052a0f05efbaefbc9e8786ba291cfdf93e5bff\vocab.json

Ответить
Sami
Sami - 08.09.2023 18:54

@oliviosarikas do you know how feasible it is to install Stable Diffusion on a Mac? for example Mac Mini M2 Pro? Will it work by running it on a virtual machine to windows or will it be better via bootcamp? or is there a Mac direct version?

Thanks

Ответить
electropentatonic
electropentatonic - 06.09.2023 09:42

Of everything I learned, you blew my mind with the f2 trick

Ответить
Rudityas W.A
Rudityas W.A - 05.09.2023 06:37

Hai thanks for the videos I'm new on the AI generated field, so what is the difference with Checkpoint and LoRa?

Ответить
Das_Flo
Das_Flo - 03.09.2023 09:00

hello The discord invite didnt work please repost it

Ответить
Laif
Laif - 01.09.2023 19:03

fckn bold you dont know nothing, you only make reviews for like , get a JOB AND A REAL LIFE

Ответить
Robert Zerkin
Robert Zerkin - 31.08.2023 00:51

Good evening Olivio,
So I just followed your guide to create my first LORA but I find myself with 22 hours of training!
I must have made a mistake somewhere ;-) However, I have an RTX 4070 TI and a Core I9 13900k.
120 photos of the same model in high quality (FHD) half are faces and the other is the full length model.
I chose 10 steps, I think my concern comes from there. I'm still going to let it finish just out of curiosity.
Thank you for the guide which will have nevertheless been very useful to me.

Ответить
Unreal DevOP
Unreal DevOP - 28.08.2023 00:42

By far the most thorough and easiest to understand guide. I followed someone else's this past week and they skipped.

The Cudda setup and explanation
The Folder Structuring setup explanation
The explanation of the different tabs, up until now I thought the Dreambooth was just a different way to train Lora's....anyway their guide was really confusing and missed a lot of stuff you cover.

Ответить
z z
z z - 27.08.2023 09:16

lovely vid, keep on these good works!

Ответить
Raketenclub
Raketenclub - 25.08.2023 23:01

you are awesome. internet is getting better bcs of u 🎉

Ответить
Anglo Land
Anglo Land - 22.08.2023 11:03

Ответить
claude claude
claude claude - 22.08.2023 02:32

I like Olivia's videos. The only difficulty is that I watch all his videos but I can't train stable diffution using LoRA. Every time I try to train I get errors indicating "CUDA out of memory". I've been trying for a month but I couldn't. I want to sign up as a member but I don't know if it's worth it since I couldn't solve even this basic question here or on the Discor channel.

Has anyone here already solved "CUDA out of memory" problem?

Ответить
Joey J
Joey J - 20.08.2023 21:15

I have 10GB RTX3080 and I still get CUDA out of memory. I do have 3050 and 3080 running in parallel but I am not sure how to configure Kohya to use both.

Ответить
tr0ublem4ker
tr0ublem4ker - 15.08.2023 07:12

this is heavily outdated, I'm trying to install Kohya and there's so many things that ain't available or as described in the video. For example, the cudnn installation, its very different now. Also I don't have the upgrade.ps1

Ответить
Peter Prutser
Peter Prutser - 14.08.2023 15:07

Great stuff, thanks

Ответить
minggnim
minggnim - 10.08.2023 05:25

Your definition of Epoch means nothing. What do you mean "Generation of the model"? 👎

Ответить
The Horror
The Horror - 07.08.2023 07:57

Please make one for online but with the same idea, like the idea of full resolution

Ответить
x D
x D - 06.08.2023 13:30

@OlivioSarikas why dont you spend 30 seconds on extracting lora from your checkpiont merge? :)

Ответить
noname noname
noname noname - 05.08.2023 20:42

great info

Ответить
Peter Forsgård
Peter Forsgård - 29.07.2023 21:01

Thanks. This video helped a lot. However i do have aproblem with Kohya. All the buttons are not working so cannot really do anything. The is a warnig about LD Library in Terminbal. Am i missing some files or what is going on?

Ответить
Richard Yoh
Richard Yoh - 26.07.2023 00:11

when captioning, whats the diff between BLIP and WD14? Why do you use wd14?

Ответить
Daniel Benson
Daniel Benson - 25.07.2023 20:24

Fantastic tutorial Olivio! Love all your AI videos. Can you use LORA to train other objects and keep them consistent? Using your technique, I've been trying to create a LORA of a specific baseball glove and a specific helmet, and apply it to an image of a baseball player in stadium. Most of the outputs I get are quite monstrous like 10 finger alien gloves. I've given it a ton of data like close up/medium shots of the glove from multiple angles, medium and wide shot of someone wearing the glove. Still nothing works. Any thoughts on how to train a LORA to keep something like a glove consistent? I'm using using SD v1.5 pruned, photon v1, realistic vision v40 as the checkpoints in A1111.

Ответить
Ashutosh Panwar
Ashutosh Panwar - 19.07.2023 11:19

yes plese make a video training checkpoint models using online servers

Ответить
Berke
Berke - 17.07.2023 21:36

I dont whats wrong with your or whats wrong with my PC. It doenst want to work. I really hoped after coupled of days to get it working, nope. I think LORA doesnt want to work. PermissionError: [Errno 13] Permission denied: 'D:\\Kohya\\kohya_ss\\setup\\..\\cudnn_windows\\cudnn_windows' . everytime the same thing. I searched everywhere how to install it properly, but there nobody except olivio. Sry Olivio, I am not against you, I am just angry and that there is no other video who can explain it to me easier or from step to step from the beginning

Ответить