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

  Рет қаралды 52,743

Laura Carnevali

Laura Carnevali

Күн бұрын

Пікірлер: 194
@LaCarnevali
@LaCarnevali Жыл бұрын
Note that the name of the instance images needs to represent the unique identifier. Need to call that name when writing the prompt!
@MiguelFolgado-u3t
@MiguelFolgado-u3t Жыл бұрын
Great job thanks! Could you explain hot to train Lora, in order to use combined with other models
@floresetc
@floresetc 17 күн бұрын
Muchas gracias, Lau, super claro!
@Selavie-xp2nk
@Selavie-xp2nk 10 ай бұрын
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!
@AntanasStasiunas
@AntanasStasiunas 10 ай бұрын
Same here, did you manage to solve this?
@LaCarnevali
@LaCarnevali 9 ай бұрын
probably need to upgrade to Colab Pro
@victoremanuelgyn
@victoremanuelgyn 8 ай бұрын
Did you solve?@@AntanasStasiunas
@RAHUL-tw1zu
@RAHUL-tw1zu 8 ай бұрын
@@AntanasStasiunas I think this would require the paid version of collab i,e, Collab PRo
@estheryang1295
@estheryang1295 7 ай бұрын
no you just need to run !pip install cchardet
@d0nv3rgasarenoso91
@d0nv3rgasarenoso91 Жыл бұрын
Thank you for this video, it can be frustrating when you don't really understand what's going on and are just following tutorials
@sallyunderwood66
@sallyunderwood66 14 күн бұрын
I would love to do this but I don't get where you get the model from (ckpt file) - which model do you use and where do you find it?
@calvinlparks
@calvinlparks Жыл бұрын
Very cool and clear. Thanks again Laura!
@aouzestudio
@aouzestudio Жыл бұрын
Welcome to Thailand :) im one of your fans , hope you really enjoy your holiday.
@LaCarnevali
@LaCarnevali Жыл бұрын
Thanks! I love Thailand! 🥰
@AlexsForestAdventureChannel
@AlexsForestAdventureChannel Ай бұрын
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
@AmirRifaix
@AmirRifaix 5 ай бұрын
Hello Laura, really enjoyed the video! I tried following what you did step by step however when I launched the "Test the trained model" cell, I got a traceback error message which prevents me from testing the model. Do you have any advice or is there an updated version of the notebook I should download? (I got colab pro)
@stijnvaneeckhoutte5009
@stijnvaneeckhoutte5009 Жыл бұрын
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.
@eduardocambiaso9579
@eduardocambiaso9579 Жыл бұрын
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?
@BigMathGaming
@BigMathGaming 6 ай бұрын
same issue here
@SouthbayCreations
@SouthbayCreations Жыл бұрын
Hi Laura! Well I guess Google is banning the use of webUI’s from the colab servers. What options do we have now? RunPod?? What’s your thoughts? Thanks! Jason
@LaCarnevali
@LaCarnevali Жыл бұрын
Not sure if this is actually going to happen, but yes, Runpod can be the option B. Would like to find something free though ... :/
@SouthbayCreations
@SouthbayCreations Жыл бұрын
@@LaCarnevali I'm not sure if there's anything out there that's available freely to use. Even with Colab I ended up subscribing, because my "free" ran out.. 😔
@killzann7757
@killzann7757 4 ай бұрын
this is what i was looking for! thank u so much!
@blacksyan
@blacksyan Жыл бұрын
Thanks for the tutorial, but now the localtunnel asks for IP. Where I can find the IP address required by local tunnel?
@j1124
@j1124 Жыл бұрын
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!
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi, you need to create that inside your Google Drive...just right click> new folder
@Cuong-hj2rn
@Cuong-hj2rn 10 күн бұрын
I want to train on my data and my friends for example Jony, Lisa,.. on the same model is that possible?
@yanex4631
@yanex4631 Жыл бұрын
please part two, a way so that the image does not display hand or body errors🙏🙏
@fatima93263
@fatima93263 Жыл бұрын
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.
@LaCarnevali
@LaCarnevali Жыл бұрын
You can use this notebook: colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb
@sthapatiai
@sthapatiai 24 күн бұрын
these were the errors i encountered, please tell me how to fix them ModuleNotFoundError: No module named 'cchardet' During handling of the above exception, another exception occurred: AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)
@SouthbayCreations
@SouthbayCreations Жыл бұрын
Thank you Laura! Very helpful video!! Do you know how we can create a Lora using Colab also? Thanks again! BTW, did you make a part 2?
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi, yes, you can, although I had some running issues last week. I'll try to make a video if it works again.
@SouthbayCreations
@SouthbayCreations Жыл бұрын
@@LaCarnevali Fantastic! Thank you very much!
@angel_rf
@angel_rf 5 ай бұрын
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!!
@LuppoDesign
@LuppoDesign Жыл бұрын
Hi Laura, thanks for all the explanation. I have a doubt about if I want to create a Model from scratch, how do you do that?. I was looking for it in your videos but I didn´t find it. and after that, make the fine tuning step. Grazie
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi, training from scratch requires many images (thousands) and time. I haven't made a video, but might think about making one
@marcolopresti9425
@marcolopresti9425 Жыл бұрын
Ciao Laura, complimenti davvero per il video e soprattutto grazie! Avrei una domanda: volendo effettuare il training su di un volto usango come modello Realistic Vision v2.0, il processo sarebbe lo stesso e basterebbe poi caricare su Drive il ckpt del modello e selezionarlo su SD? Oppure bisognerebbe fare altro? Grazie di nuovo
@LaCarnevali
@LaCarnevali Жыл бұрын
Ciao! Si esattamente lo stesso :)
@jamesbriggs
@jamesbriggs Жыл бұрын
Super helpful, thanks!
@최도윤-w1c
@최도윤-w1c Жыл бұрын
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?
@LaCarnevali
@LaCarnevali Жыл бұрын
Once you close your notebook, you cannot go back to it. Every time you open a new notebook you need to start again. Also, why do you need to go back to the local tunnel? You should have your output model in your drive :)
@islamicinterestofficial
@islamicinterestofficial Жыл бұрын
Yeah I'm also facing the same issue. How you fixed it? I also passed my public ip there, but still it is not accepting that. please tell me?
@islamicinterestofficial
@islamicinterestofficial Жыл бұрын
@@LaCarnevali But at least first time, we need to test it on local tunnel. But it is asking for IP and we don't know what to put there. I also put the public ip there but it is not accepting that. Please tell how to resolve this.
@bessemhamudhamud2934
@bessemhamudhamud2934 Жыл бұрын
Hi Laura! Couldn't find the video for reloading the trained model without going through all the steps again. Where can I find more information about it?
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi, You can just skip the training by putting 0 to all steps or running only the section where you need to upload the model. Otherwise, if you are using colab, you can use this notebook (still need to run all of the steps but it s less complicated) colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb
@jeffmurray1102
@jeffmurray1102 Жыл бұрын
Hi Laura, Great tutorial probably the best I've seen thus far for training LoRA. I did notice at marker 12:39 Instance images is not loading on my page or has been removed. I'm assuming the latter. Do you know why that was removed and what replaced it? Thanks again!!!
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi, you can use the 'deprecated' folder for that :)
@ruedeclare
@ruedeclare Жыл бұрын
The "Instance Images" tab is missing from the notebook in the link to the video. How do I find that or code for it? I've looked on other websites but can't find it. Some people train their images in another website like Astria and not the google colab, but I want to keep everything in the google colab notebook. Thank you !!! I've only been able to get this far bc of your videos, this seems to be the last missing piece.
@LaCarnevali
@LaCarnevali Жыл бұрын
I just clicked on the link - the instance tab is still there. Make sure you are opening the correct notebook colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast-DreamBooth.ipynb
@SevannM
@SevannM Жыл бұрын
Forgot how to do it and came back, still an awesome video :D thanks again
@Minahil-zw6wt
@Minahil-zw6wt 8 ай бұрын
hey how did you do it?
@SevannM
@SevannM 8 ай бұрын
​@@Minahil-zw6wtsadly it doesn't work anymore because they havent updated it.
@Minahil-zw6wt
@Minahil-zw6wt 8 ай бұрын
@BlakeSevann2 do you have any other suggestions, am looking for a pre trained model for making an app where user can provide his images and he can get different ai generated images , like in remini app if you have used it
@SevannM
@SevannM 6 ай бұрын
@@Minahil-zw6wt unfortunately i don't :(
@SevannM
@SevannM Жыл бұрын
Great video, thank you very much!
@ekkamailax
@ekkamailax 10 ай бұрын
One thing I’m a bit confused about - what if the model already has existing images that are labeled as “Laura” from the original weights? How does it know that “Laura” should only refer to the images you fine tuned?
@LaCarnevali
@LaCarnevali 10 ай бұрын
It would be better to call the model with something the model doesnt know, like L4vr4. Including numbers within the model name is ideal.
@МарияУльянова-б8т
@МарияУльянова-б8т 4 ай бұрын
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? 🙏
@DanielRodrigues-bx6lr
@DanielRodrigues-bx6lr 8 ай бұрын
I've tried using external captions and when training it always seems to truncate my captions to the first 50 - 55 characters instead of using the whole caption. Have you come across anything similar?
@thoudamchitaranjanofficial
@thoudamchitaranjanofficial 11 ай бұрын
Hello Laura, First of all, thank you so much for these incredible guides. I tried running your Colab code from this tutorial and successfully completed the training 2 times. However, when it comes to testing, I am not able to launch the SD. Also, every time I run this Colab, I am not able to launch my previous Colab SD, which I did from your other tutorial. Am I supposed to install them in seperate drives???
@LaCarnevali
@LaCarnevali 11 ай бұрын
Hi, you can try this notebook to test it: colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb
@thoudamchitaranjanofficial
@thoudamchitaranjanofficial 11 ай бұрын
@@LaCarnevali I am already running this very AUTOMATIC notebook after watching your other video. But after running the training session from the Dreambooth notebook in this current training tutorial, I am getting error, and unable to launch the AUTOMATIC notebook. However, if wipe the installation, and perform a new clean installation, I can run the AUTOMATIC notebook just fine. Both the notebooks are from your tutorial. Steps I went trhough: 1). Ran AUTOMATIC notebook and Installed SDv1.5 from the link you have provided. SD works fine for various sessions(Shutdown -Restart many times.) 2). Ran Dreambooth training notebook and completed style training 1 time. Testing unable to launch SD. Getting errors.->So shut down session. 3). Ran AUTOMATIC notebook, but unable to launch SD. Getting errors.-> So, shut down the session. 4). Wiped the sd drive in GDrive. 5). Repeated the above steps from step 1 to 4 for a second time., but for for face training. Still not able to launch AUTOMATIC webui. Getting errors about missing files, and errors in webui.py and more. So, I had to wipe the sd drive and reintall the whole SD clean using the AUTOMATIC notebook. I hope I can run both Dreambooth training and the AUTOMATIC webui from the saem Colab pro account. Otherwise, I'll have to pay for another Colab pro account. Help please. Also, if there is some way, or platform, where I can get personalised assistance/guidance from you, for Generative AI training, it will be helpful. I really connect with your teaching style. -Thanks in advance.
@suzanazzz
@suzanazzz Жыл бұрын
Hi Laura ❤🙏thank you for this tutorial, I have been looking for something like this for a while now!!! I have a few questions if you could please clear up for me. 1- When u crop and RENAME your INSTANCE images do they have to be the same name as UR SESSION? 2- If I do not want to train BOTH 1- face /a character AND an AESTHETIC (my images have a pinkish coloring) do I need to upload both INSTANCE and CONCEPT images? I am not sure I understand the difference between the two and whether I can do both in ONE TRAINING SESSION. 3- Any tutorials you have in mind that show how to do CONCEPT training? 🙏❤
@LaCarnevali
@LaCarnevali Жыл бұрын
1) The name of the instance images needs to represent the unique identifier. Need to call that name when writing the prompt! 2) The INSTANCE images are those used to train the model. They need to be almost perfect, I would say. They need to vary though, show the face/character from different prospective, different dresses, etc. If you have only one image with a pinkish color, that's fine. However, if you have all of them with that pinkish color, which you don't want, I would suggest to change the pictures! XD CONCEPT images are used to regularize the model. If you are training your face, you don't need to use them. If you need to train the model on a specific car (BMW), for example, it is preferable to upload lots of different cars in different environments, shapes, etc, so that the model can generate more variety of your car in different places, positions, ... otherwise, the model will focus too much on the INSTANCE images and will reproduce them as they are. Also, the CONCEPT image name doesn't matter. I'll add this to my to-do list :) Hope it s clear. XD
@mohammadawwad7832
@mohammadawwad7832 Жыл бұрын
Very nice and clear, Anything regarding data Privacy ?
@ekkamailax
@ekkamailax 10 ай бұрын
Excellent video and very well explained.
@pastuh
@pastuh Жыл бұрын
If I have thousand images which will be for model.. Which settings you suggest? :) At this moment I'm trying 1024,1024, and total is 120950 steps.. (maybe too much?)
@LaCarnevali
@LaCarnevali Жыл бұрын
The choice of the settings depends also on type of training, image type, image quality, etc.
@mrkeyzzz
@mrkeyzzz Жыл бұрын
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.
@LaCarnevali
@LaCarnevali Жыл бұрын
try cancel the folder from your drive and re-run the notebook
@mrkeyzzz
@mrkeyzzz Жыл бұрын
@@LaCarnevali I tried that many times and it still wouldn’t work. Are there hidden files that are stored in the drive?
@LaCarnevali
@LaCarnevali Жыл бұрын
There’re some, but should be that. Do you have Colab pro?
@mrkeyzzz
@mrkeyzzz Жыл бұрын
@@LaCarnevali No, I only have the free version. Is pro required?
@LaCarnevali
@LaCarnevali Жыл бұрын
@@mrkeyzzz Yes, the free version was banned by Google last month, unfortunately. So you can now run it only on the pro version
@shaunbass444
@shaunbass444 Жыл бұрын
Hey Laura, thanks for this really cool content and tutorials, really helping me in my learning Journey. Im trying this one out but sadly when i try to import drive im getting the error message " ValueError: Mountpoint must not already contain files" I already installed SD onto google drive, do I have to create a different folder to link to? Any help would be amazing. Grazie Mille x
@LaCarnevali
@LaCarnevali Жыл бұрын
When you run the mounting code, make sure it is mounting to the right directory. from google.colab import drive drive.mount('/content/drive/') You might want to change the directory /content/drive/ to the actual directory (not sure where you have your SD folder)
@dominiquecroshaw8736
@dominiquecroshaw8736 Жыл бұрын
Thank you for the brilliant tutorial, very clear and accessible. I am new to the process and was just wondering if I make my own set of concept images to inform my instance images - will the end result be entirely created from my own image data inputted? Or will Stable Diffusion's vast image dataset also inform the final image?
@LaCarnevali
@LaCarnevali Жыл бұрын
Thanks, it will use the dataset used to trained the model (it depends which model you used, i.e., civitai, v1.5). I understand you are new to it, but just a hint - you might use Lora models in addition to your model.
@dominiquecroshaw8736
@dominiquecroshaw8736 Жыл бұрын
@@LaCarnevali great! Thanks for the advice
@suzanazzz
@suzanazzz Жыл бұрын
@@LaCarnevali Oh... 😮how do we do that?
@Project481-bd8is
@Project481-bd8is 4 ай бұрын
Thank you so much Mam
@cadid1
@cadid1 Жыл бұрын
Thanks for the tutorial!!!
@cadid1
@cadid1 Жыл бұрын
Could you make a tutorial about textual inversion embeddings, please?
@platwork
@platwork 4 ай бұрын
@LaCarnevali Ciao Laura, grazie per questo fantastico video! Non riesco a creare il file .ckpt in huggingface. Come posso fare? Si può prendere un modello qualsiasi o deve avere delle caratteristiche particolari= graxzie mille
@toxicjino
@toxicjino Жыл бұрын
Thanks for the tutorial, but now the localtunnel asks for IP, and i cant seem to find it, is there an alternative for this? Please help
@juliagarcia7302
@juliagarcia7302 6 ай бұрын
is there a reason why the part for inserting concept images doesnt show up anymore? has something in this notebook changed since one year ago?
@LaCarnevali
@LaCarnevali 6 ай бұрын
yes, it has been updated
@EnriqueAPOLOAPOLO
@EnriqueAPOLOAPOLO 10 ай бұрын
Hi Laura. I really like your videos. It could be possible to train a model to complete objects. Imagine I have objects hide by others and I want to complete those incomplete. I'm thinking in an actual application. Imagine you have fruits (i.e., apples on a tree) hidden by the leaves. I'd like to train model able to complete those fruits which are completed.
@ordermusic3941
@ordermusic3941 10 ай бұрын
Hi laura. How can i train stable diffusion for a specific style with dreambooth? For example i want to train it so that i can convert myself into a marvel character etc.
@LaCarnevali
@LaCarnevali 10 ай бұрын
You can probably do that without training - anyway, it will require another video 🫠
@CRIMELAB357
@CRIMELAB357 Жыл бұрын
[HELP] during the Upload to Huggingface cell collab disconnected but I have my session saved in drive, how do I manually upload to Huggingface and use the darn thing. Where is the continuation of this vid?
@CRIMELAB357
@CRIMELAB357 Жыл бұрын
[PS. I can't find any yt tutorial to help me, if anyone can link a tut,that b awesome]
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi, sorry I still need to upload the continuation. Regarding your question, you can use the same notebook - use the Create/Load a Session section to link to your saved session, them use the Upload The Trained Model to Hugging Face section. Otherwise, you can upload anything on HuggingFace just clicking on your avatar on top-right, and choose +New Model/+New Dataset/+New Space
@uroojakmal1726
@uroojakmal1726 Жыл бұрын
Hi Laura, while Testing the trained model i cant seem to access the webpage, Error: endpoint IP is not correct. Please try again or contact whoever gave you this link for the correct public IP.
@LaCarnevali
@LaCarnevali Жыл бұрын
Are you using Colab pro?
@uroojakmal1726
@uroojakmal1726 Жыл бұрын
@@LaCarnevali No the free version
@LaCarnevali
@LaCarnevali Жыл бұрын
@@uroojakmal1726 unfortunately, google has banned the free version of A1111 with Colab, so you can run it only with the pro - you might try ComfyUI (I think it's still free )
@uroojakmal1726
@uroojakmal1726 Жыл бұрын
@LaCarnevali Thanks a lot dear for your help.
@yzufardiansyah3156
@yzufardiansyah3156 10 ай бұрын
Thank you,, so easy
@AasthaKumar-v9c
@AasthaKumar-v9c 9 ай бұрын
where can I find the fast dreamBooth google drive folder?
@rohitrai6815
@rohitrai6815 7 ай бұрын
if i have many images so how should i add caption to every image
@キンジハヤマ
@キンジハヤマ Жыл бұрын
if it okay, i would like to request about 1 click colab, there so many of people don't know about that and is it hard to us 1 click colab stable diffusion.
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi! Sure, thank you for the suggestion :) will do that
@FM-zp2hl
@FM-zp2hl 9 ай бұрын
nice video there, I tried with the safetensor model of dreamshapper, but it did not work. I had the model in my gdrive and provided the link to the model path but could not get pass the model download stage. Any ideas?
@LaCarnevali
@LaCarnevali 9 ай бұрын
Have you upgraded to Colab Pro?
@FM-zp2hl
@FM-zp2hl 9 ай бұрын
@@LaCarnevali Yes
@FM-zp2hl
@FM-zp2hl 8 ай бұрын
@@LaCarnevali Hello, yes
@wsligter
@wsligter Жыл бұрын
What's the best course of action when the images in my dataset are all the same dimensions but it's not a square (690*760)?
@LaCarnevali
@LaCarnevali Жыл бұрын
For this type of training you need to resize your images. Use Birme or Photoshop.
@daganmiller8604
@daganmiller8604 Жыл бұрын
Can you do a tutorial on how to train a Lora or Textual Inversion with Google Colab?
@amazingfacts129
@amazingfacts129 11 ай бұрын
we have 25gb outfit data.can we train on It.same steps.
@beytullahyayla7401
@beytullahyayla7401 7 ай бұрын
Hi, at the end of the notebook when we try to open webui, it ask for a tunnel password?
@PhylumVertebrae
@PhylumVertebrae Жыл бұрын
Can you show how to save it as a checkpoint directly?
@angienavarrete3580
@angienavarrete3580 Жыл бұрын
Hi Laura! Thanks for sharing all of these videos. Do you think is possible to re train (fine tune) a model to get more "diverse" results? For Example, if I generate "pictures of CEOs" I'm gonna get lots of white man pictures, if I re train with 100 pictures of CEO of different genders and races, do you think is possible to get more diverse results? And also, do you think I can see a difference when using DreamBooth or LoRA? Thanks!
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi! Yes, you can do that. In my opinion, DreamBooth is going to be more precise as you are training the full neural network model, rather than only one part (LoRA).
@kevinstrootman-j1z
@kevinstrootman-j1z Жыл бұрын
Hi, just wondering I can no longer see the option to add concept images(regularization) any ideas?
@LaCarnevali
@LaCarnevali Жыл бұрын
I cannot see them as well - it seems they have updated the notebook
@minigabiworld
@minigabiworld Жыл бұрын
Great video! Great job!
@vichelby
@vichelby 11 ай бұрын
thanks!!
@jasongaretthatcher
@jasongaretthatcher 7 ай бұрын
Hi Laura. Is this colab notebook still working? I had it working a few days ago, but now it gives an error when I get to the training cell.
@LaCarnevali
@LaCarnevali 6 ай бұрын
it works, but it's under payment (~10$ / month)
@fahamidurrahaman1882
@fahamidurrahaman1882 Жыл бұрын
regularization part is not in the code anymore
@professional5659
@professional5659 Жыл бұрын
The "Use_localtunnel" page is asking for "Endpoint IP", do you have any idea how to obtain it?
@LaCarnevali
@LaCarnevali Жыл бұрын
Not sure - I would avoid the local tunnel
@josephivill6533
@josephivill6533 Жыл бұрын
Hey Laura, thanks for the tutorial I've run into an issue I can't figure out. When testing the trained model I dont get a local link even when I've selected local tunnel. I get this error.. any ideas? TypeError: check_deprecated_parameters() missing 1 required keyword-only argument: 'kwargs'
@LaCarnevali
@LaCarnevali Жыл бұрын
Have you upgraded to Colab Pro?
@josephivill6533
@josephivill6533 Жыл бұрын
@@LaCarnevali yep I have! Do I need to have pre installed stable diffusion on my Mac first?
@LaCarnevali
@LaCarnevali Жыл бұрын
@@josephivill6533 Nope, you don't need any local installation - try this link to test your model: colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb Make sure you mount to Google Drive, and your model is in the right folder inside your drive.
@KiraBue
@KiraBue Жыл бұрын
I still have troubles with how long each and every cell takes to load... I´ve already tried it with a smaller dataset to make it faster...does the training section take half an hour for everyone else? Does it maybe have something to do with that colab keeps informing me that I got disconnected from the GPU? Sorry, i am new to this...
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi, it can be. When you open the notebook, go into runtime, and change runtime to GPU to make sure you're using it
@Mk78027
@Mk78027 4 ай бұрын
Does anyone get this error, " ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor' " when testing the trained model? How do you fix this?
@LaCarnevali
@LaCarnevali 3 ай бұрын
You probably have to upgrade to Colab Pro?
@CristianDavidParraMuñoz
@CristianDavidParraMuñoz 7 ай бұрын
Hi everyone, do you think it's a good idea to fine tunning Stable Diffusion for movie poster generator? I have a dataset with movie poster images and their txt overview.
@angel_rf
@angel_rf 5 ай бұрын
Hi, I'm trying to do the same. I think that is a good idea btw. What's the prompt that are you using? Are you getting any good results? I would like to talk about it
@nuransengul1439
@nuransengul1439 Жыл бұрын
I'm having an issue with my access to Google Colab. I'm unable to log in due to an access restriction. Can you please help me resolve this issue? I appreciate your help in advance......
@LaCarnevali
@LaCarnevali Жыл бұрын
Do you have Colab Pro? What is the issue exactly?
@hamitdes7865
@hamitdes7865 8 ай бұрын
After training to use tunnel it is asking for tunnel password from where can I get tunnel password?
@nk6971
@nk6971 Жыл бұрын
Please can we get one on textual inversion for Google collab
@minggnim
@minggnim Жыл бұрын
I don't have the window above "Dependencies".
@LaCarnevali
@LaCarnevali Жыл бұрын
it can be that the notebook has been updated since the video - do you have requirements?
@OrbitMoonAlpha
@OrbitMoonAlpha Жыл бұрын
thx for sharing, may I ask if that's impossible for Mac user to train a lora using tools like kohya_ss?
@LaCarnevali
@LaCarnevali Жыл бұрын
You can do that with Mac, it can be slow though (it depends on what mac you are using). Otherwise, you can use kohya in Colab
@benjaminos1445
@benjaminos1445 Жыл бұрын
Have you made the video to continue this one ? The one to show how to use our model.
@LaCarnevali
@LaCarnevali Жыл бұрын
yes, but I haven't uploaded it, need to do that sorry >.
@benjaminos1445
@benjaminos1445 Жыл бұрын
@@LaCarnevali Thanks a lot! Your videos are really helpful. Also, I've been trying to train a LoRA with Kohya, but I am getting an error. I searched a solution for hours, but couldn't find one. This is the error type: TypeError: memory_efficient_attention() got an unexpected keyword argument 'scale'. Maybe you could make a video about the possible error or answer here ? Anyay thanks for you videos they are awesome.
@4SP1DER
@4SP1DER Жыл бұрын
Hi Laura! Tunnel URL dont work. I clicked "Click to Submit" but it needs Endpoint IP. How can I solve this?
@LaCarnevali
@LaCarnevali Жыл бұрын
You can also run it without tunnel if that gives you issue. Make sure you have the Colab Pro version, as Google banned the free version last month or so.
@4SP1DER
@4SP1DER Жыл бұрын
@@LaCarnevali How come!!! Very sad. Thanks a lot for your help.
@4SP1DER
@4SP1DER Жыл бұрын
@@LaCarnevali How can i run it without tunnel?
@silvanproductions8478
@silvanproductions8478 9 ай бұрын
Hello, thanks for the very helpful Tutorial. When i want to test the trained Model in Google Colab there is an error: ModuleNotFoundError Traceback (most recent call last) in () 6 from subprocess import getoutput 7 from IPython.utils import capture ----> 8 from pyngrok import ngrok, conf 9 import base64 10 ModuleNotFoundError: No module named 'pyngrok'. Can you help me with that?
@error7715
@error7715 7 ай бұрын
Click +code on top left and run pip install pyngrok
@EMF-xx3mf
@EMF-xx3mf Жыл бұрын
Is there a way to do this without getting colab pro? Is there a free way?
@LaCarnevali
@LaCarnevali Жыл бұрын
unless locally, not that I m aware
@ikissedscarlet
@ikissedscarlet Жыл бұрын
I think I am falling in love
@pricelessalpaca
@pricelessalpaca Жыл бұрын
What are the words you used to generate your cat in these images?
@LaCarnevali
@LaCarnevali Жыл бұрын
Sorry, I don't remember!
@valeriocalabrese5000
@valeriocalabrese5000 Жыл бұрын
Ciao Laura, non è possibile installare Stable Diffusione per Mac con processori Intel? Ho provato, ma appena apre stabile diffusion su browser appena chiedi una generazione crasha per via di Python. Risolvibile secondo te?
@LaCarnevali
@LaCarnevali Жыл бұрын
Ciao Valerio. Si puoi installarlo. Ti consiglio di seguire questo video: kzbin.info/www/bejne/mnqlZXqNaM50ebM Unica differenze per Intel riguarda Homebrew. Homebrew viene installato in una directory differente: /usr/local Quindi, dovrai installare le libraries usando quanto segue: /usr/local/bin/brew install cmake protobuf rust python@3.10 git wget Dovrai poi seguire NEXT STEPS sul terminal (dovresti avere qualcosa del genere): ==> Next steps: - Add Homebrew to your PATH in /Users/$USER/.zprofile: echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile eval $(/opt/homebrew/bin/brew shellenv) Copy and paste the first line on the same terminal window, then hit enter echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile Then Copy and paste the last line on the same terminal window, then hit enter eval $(/opt/homebrew/bin/brew shellenv)
@valeriocalabrese5000
@valeriocalabrese5000 Жыл бұрын
@@LaCarnevali proverò oggi. Sei troppo buona. Complimenti per la competenza.
@valeriocalabrese5000
@valeriocalabrese5000 Жыл бұрын
@@LaCarnevali ciao Laura, non ci sono riuscito. :( le mie lacune da programmatore sono evidenti.
@LaCarnevali
@LaCarnevali Жыл бұрын
@@valeriocalabrese5000 Ciao Valerio, prova a far partire il programma con il seguente: ./webui.sh --no-half Se questo non funziona, potresti dirmi che errore ti appare sul terminal quando fai click su genera?
@valeriocalabrese5000
@valeriocalabrese5000 Жыл бұрын
@@LaCarnevali ciao Laura, se ti va quando hai 20 minuti liberi. Lo faccio passo passo con te. E ti dico gli errori. Me ne dava diversi.
@GAMINGGEEKzzz
@GAMINGGEEKzzz Жыл бұрын
hello laura i am having an issue whenever i start stable diffusion and generating image it disconnects or loading any model
@LaCarnevali
@LaCarnevali Жыл бұрын
what error do you get?
@GAMINGGEEKzzz
@GAMINGGEEKzzz Жыл бұрын
@@LaCarnevali disconnected and i cant reload it again so i have to restart the whole thing again
@LaCarnevali
@LaCarnevali Жыл бұрын
@@GAMINGGEEKzzz oh yeah - this is a common issue unfortunately. Nothing we can do about that
@ai_and_gaming
@ai_and_gaming Жыл бұрын
Can we train with sdxl?
@LaCarnevali
@LaCarnevali Жыл бұрын
yup, there should be an updated kohya file to train SDXL
@diggydretv
@diggydretv Жыл бұрын
How can I do this with Dreambooth in Automatic1111?
@LaCarnevali
@LaCarnevali Жыл бұрын
This requires another video lol
@filliprenotazionilastminut7866
@filliprenotazionilastminut7866 Жыл бұрын
Hi Laura thank you for the video! I was able to train the model but I have some problems with Gradio in particular: ImportError: cannot import name 'Recordable' from 'gradio.events' (/usr/local/lib/python3.10/dist-packages/gradio/events.py) Did they change some packages? Thank you a lot!
@LaCarnevali
@LaCarnevali Жыл бұрын
Try running it without Gradio?
@nokiyo8609
@nokiyo8609 Жыл бұрын
Hello, do you know if I can buy google colab pro with a google play gift card?
@LaCarnevali
@LaCarnevali Жыл бұрын
Hi, sorry, but I m not sure about that
@NetTubeUser
@NetTubeUser Жыл бұрын
10:28 -- I know that English is not your first language, but in this case, when you mention that these files must have the same name. That's not really the case, otherwise, it won't work at all. What you meant was that these files must have the same prefix, but we need to change the suffix _(prefix from Old French "prefixe", from Latin "praefixus" and "suffix" from modern Latin "suffixum")_ e.g. prefix "Laura" and suffix "2" or "3", etc. ... "Laura 1", "Laura 2", etc.
@rohitrai6815
@rohitrai6815 7 ай бұрын
When i am going to local tunnel tab so its asking for password how to get it
@beytullahyayla7401
@beytullahyayla7401 7 ай бұрын
hey, did you find the answer?
@pelomundo2080
@pelomundo2080 Жыл бұрын
🙌🙌🙌🙌
@bgm1
@bgm1 Жыл бұрын
😍🥰👍🙏
@karticksharmapro1523
@karticksharmapro1523 Жыл бұрын
BRO LAURA MEANS dICK IN MY COUNTRY MY WHOLE OFFICE IS LAUGHING SORRY BRO BUT FOR ME ITS LOT OF FUN
@SphereofTime
@SphereofTime 11 ай бұрын
4:09
@akshara8812
@akshara8812 9 ай бұрын
12:03 isnt she looking left?
@LaCarnevali
@LaCarnevali 9 ай бұрын
LOL, yeah
@arielle4087
@arielle4087 Жыл бұрын
Are you italian or argentinian? XD
@LaCarnevali
@LaCarnevali Жыл бұрын
Italian
Easy run SDXL in A1111!
9:14
Laura Carnevali
Рет қаралды 6 М.
Training LoRA with Kohya (theory included!)
36:18
Laura Carnevali
Рет қаралды 95 М.
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 12 МЛН
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 105 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
LORA + Checkpoint Model Training GUIDE - Get the BEST RESULTS super easy
34:38
Fine-tune Stable Diffusion with LoRA for as low as $1
17:36
Julien Simon
Рет қаралды 9 М.
Starknet Basecamp X Session 3: Cairo
57:33
Starknet Foundation
Рет қаралды 65
😕LoRA vs Dreambooth vs Textual Inversion vs Hypernetworks
21:34
ULTIMATE FREE LORA Training In Stable Diffusion! Less Than 7GB VRAM!
21:14
Intro to LoRA Models: What, Where, and How with Stable Diffusion
21:01
Laura Carnevali
Рет қаралды 204 М.
LORA Training - for HYPER Realistic Results
36:20
Olivio Sarikas
Рет қаралды 101 М.
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 12 МЛН