Your'e a life saver.Can't thank you enough. Since the Google colab file really changed, it was hard to follow any other tutorial. Your saved version of Google colab file really helped! The newer version had some weird problem, it was not detecting any of my images. This tutorial was really easy to follow. But your copy of google colab was the real MVP for me. Thanks and keep making these tutorial.
I triple checked everything but I get this error. Would you help me out please? CUDA backend failed to initialize: Found cuDNN version 8700, but JAX was built against version 8904, which is newer. The copy of cuDNN that is installed must be at least as new as the version against which JAX was built. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.) /content/LoRA/config/config_file.toml not found.
You mention the sampler DDIM helps to not lose much quality in training. I was under the impression that samplers were just used for generating sample images, and not affecting the actual training itself. Will you elaborate on this?
Thank you for the tutorial! 4.2.3 On the custom captioning when I execute, I'm getting this error: " in :23 NameError: name 'train_data_dir' is not defined" I know it's referring to the path but not sure what I have to change. right now I have /My Drive/ LoRA/train_data/my_photos Thanks in advance any help is appreciated.
Hi I used some months ago your notebook with success, but I try it today and I get a lot of errors: 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. tf-keras 2.15.1 requires tensorflow=2.15, but you have tensorflow 2.16.2 which is incompatible. torchaudio 2.3.0+cu121 requires torch==2.3.0, but you have torch 2.1.0 which is incompatible. torchtext 0.18.0 requires torch>=2.3.0, but you have torch 2.1.0 which is incompatible. Has u an id how resolve this error?
I managed to run through this successfully a couple of times, but all of a sudden I am now getting the following error every time I start to train: "CUDA backend failed to initialize: Found cuDNN version 8700, but JAX was built against version 8904, which is newer. The copy of cuDNN that is installed must be at least as new as the version against which JAX was built. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)" I've tried multiple gmail accounts as well to no avail. Is the google colab broken?
which colab do you run? the one I saved to gdrive or the original one? whichever it is, try to run another one:) if it won't help, i recommend you to google the error and see what people say, usually adding a cell to the colab and force install the right version of the lib it complains about will fix it
no, this one won't work, but there is a colab for XL from the same author too - colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-trainer-XL.ipynb you can use it :)
you can have as many pictures as you want, just make sure that all the pics are different - it doesn't make sense to use many similar pics, it will slow down training and won't make results better
@@codeandbird Well... I want the AI to make pictures of this "Geumsaegi" character from a badly drawn TV show called "Squirrel And Hedgehog" (look it up). Pictures of the character in full body are few and far between and most of them, despite being drawn by human artists back in the 90s and 2000s, look like badly done AI pictures (I am not kidding)
Hello! I found your video, and I just wanted to say спасибо тебе большое!! (Увидел, что твой Драйв на русском 😅). But I had a question. Does the use of google colab for stable diffusion depend on my GPU? I know that Stable Diffusion doesn't work for AMD processors, which is my case.
There is an 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. pandas-gbq 0.19.2 requires google-auth-oauthlib>=0.7.0, but you have google-auth-oauthlib 0.4.6 which is incompatible. How Can I Solve it? Thanks
Personally I've never done that, but there's a guide on the website replicate.com/docs/guides/push-a-model Try it out, for now, maybe I'll do a video about it later.
At around 15:23 you say “…then we go into our web UI, you remember in the last video I showed you how to upload LoRAs here.” Where is our web UI (do you mean Google Drive?) and where is this previous video please? You mention the video again at 16:33 without telling us where it is.
unfortunately the amount of free use of colab is so minimal today that even if you have success of running this process ( i had ) it will cancel and ask you for money.
Your'e a life saver.Can't thank you enough. Since the Google colab file really changed, it was hard to follow any other tutorial. Your saved version of Google colab file really helped! The newer version had some weird problem, it was not detecting any of my images. This tutorial was really easy to follow. But your copy of google colab was the real MVP for me. Thanks and keep making these tutorial.
Glad it was helpful! I haven't seen the new colab yet, but hope you'll figure out how to use it too :)
Great tutorial. Sadly, when I ran the training using your Colab copy, I got this error: RuntimeError:
CUDA Setup failed despite GPU being available.
"errorCode=24 Authorization failed." - When selecting Stable-Diffusion-v1-5, is there a way to point to a functioning URL?
I triple checked everything but I get this error. Would you help me out please?
CUDA backend failed to initialize: Found cuDNN version 8700, but JAX was built against version 8904, which is newer. The copy of cuDNN that is installed must be at least as new as the version against which JAX was built. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
/content/LoRA/config/config_file.toml not found.
Probably you don´t know it but is really funny that you choose a parrot to train a Lora wich in Spanish is called Loro, :-) Nice tutorial !!!
You mention the sampler DDIM helps to not lose much quality in training. I was under the impression that samplers were just used for generating sample images, and not affecting the actual training itself. Will you elaborate on this?
Thank you for the tutorial!
4.2.3 On the custom captioning when I execute, I'm getting this error:
" in :23
NameError: name 'train_data_dir' is not defined"
I know it's referring to the path but not sure what I have to change. right now I have /My Drive/ LoRA/train_data/my_photos
Thanks in advance any help is appreciated.
After successfully making one lora, if I want to make another lora I have to start from the beginning again or where can I start?
Took all of the steps you did... still wasn't able to get an output folder or a config folder. Any thoughts on how to fix this?
Could be mistake in one of the paths? Try them without drive/MyDrive/ part maybe? Also make sure you allowed colab to write on google drive
Thank you. I want to do one for myself and one for my dog.
Hi I used some months ago your notebook with success, but I try it today and I get a lot of errors:
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.
tf-keras 2.15.1 requires tensorflow=2.15, but you have tensorflow 2.16.2 which is incompatible.
torchaudio 2.3.0+cu121 requires torch==2.3.0, but you have torch 2.1.0 which is incompatible.
torchtext 0.18.0 requires torch>=2.3.0, but you have torch 2.1.0 which is incompatible.
Has u an id how resolve this error?
Same
I've noticed the Google collab notebook no longer works. It seems to no longer have CUDA resources? Anyone else run into this?
Can be just the wrong cuda version, or you need to switch your runtime to gpu
I managed to run through this successfully a couple of times, but all of a sudden I am now getting the following error every time I start to train: "CUDA backend failed to initialize: Found cuDNN version 8700, but JAX was built against version 8904, which is newer. The copy of cuDNN that is installed must be at least as new as the version against which JAX was built. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)"
I've tried multiple gmail accounts as well to no avail. Is the google colab broken?
which colab do you run? the one I saved to gdrive or the original one? whichever it is, try to run another one:)
if it won't help, i recommend you to google the error and see what people say, usually
adding a cell to the colab and force install the right version of the lib it complains about will fix it
@@codeandbird it is confirmed that your version still works? Thank you for your work
same error, did you find a fix?
Check if you run runtime with GPU
Just got the same error. Did you find a way to fix this?
is there an option to train a lora localy? on my own pc? thx in advance!
Yes you can do it locally too, if your hardware is powerful:)
i just want to see one comment that says this worked
what about using SDXL model instead of SD1.5 or SD2 , does this colab can use it ?
no, this one won't work, but there is a colab for XL from the same author too - colab.research.google.com/github/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-trainer-XL.ipynb you can use it :)
Thanks a lot , and keep going with more tutorials @@codeandbird 👍
would it be a bad idea to have like 70 pictures?
you can have as many pictures as you want, just make sure that all the pics are different - it doesn't make sense to use many similar pics, it will slow down training and won't make results better
@@codeandbird Well... I want the AI to make pictures of this "Geumsaegi" character from a badly drawn TV show called "Squirrel And Hedgehog" (look it up). Pictures of the character in full body are few and far between and most of them, despite being drawn by human artists back in the 90s and 2000s, look like badly done AI pictures (I am not kidding)
Is this notebook still working? i heard that some simmilar note from civitai lora tutorial was banned by google.
it works for me with colab pro - not sure about the free tier though
Hello! I found your video, and I just wanted to say спасибо тебе большое!! (Увидел, что твой Драйв на русском 😅). But I had a question. Does the use of google colab for stable diffusion depend on my GPU? I know that Stable Diffusion doesn't work for AMD processors, which is my case.
Ah thank you glad it was helpful ☺️ It doesn’t matter what gpu you’ve got, it all runs in colab environment, so you should be fine 👌
Cool stuff! btw have you kept contact with your bird? So cute!
Her new family sends me pictures and vids :)
There is an 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.
pandas-gbq 0.19.2 requires google-auth-oauthlib>=0.7.0, but you have google-auth-oauthlib 0.4.6 which is incompatible.
How Can I Solve it? Thanks
Hmm, not sure, does the notebook still run with this errors? I think you probably could ignore it if it works
can You explain how to use XL ?
how can we upload the model on the replicate after training?
Personally I've never done that, but there's a guide on the website replicate.com/docs/guides/push-a-model Try it out, for now, maybe I'll do a video about it later.
can you train models in google colab without premium subscription?
Haven’t tried, but I guess even if you can - it’s gonna be slow
yes
At around 15:23 you say “…then we go into our web UI, you remember in the last video I showed you how to upload LoRAs here.” Where is our web UI (do you mean Google Drive?) and where is this previous video please? You mention the video again at 16:33 without telling us where it is.
I was talking about this one: Forbidden Desires: Generate Adult Content with AI
ua-cam.com/video/YWsE1qYkVzU/v-deo.html
I have no Lora folders in my drive...and they won't create.
awesome!
👍
the notebook got banned :(
it works for me with colab pro - not sure about the free one though
unfortunately the amount of free use of colab is so minimal today that even if you have success of running this process ( i had ) it will cancel and ask you for money.
It already broke.
сначала не понял почему гугл на русском xd
😅
Очень сложно. Можно было бы и по русски(((
This was useless to me. I want to do this on my computer, not in a cloud service.
Hi, have you found a way to do it locally on computer?