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

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

Laura Carnevali

1 год назад

48,723 Просмотров

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


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

@LaCarnevali
@LaCarnevali - 08.04.2023 05:23

Note that the name of the instance images needs to represent the unique identifier. Need to call that name when writing the prompt!

Ответить
@silvanproductions8478
@silvanproductions8478 - 15.01.2024 14:51

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)
<ipython-input-2-3a02e89cf6da> in <cell line: 8>()
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?

Ответить
@FM-zp2hl
@FM-zp2hl - 12.01.2024 02:08

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?

Ответить
@ekkamailax
@ekkamailax - 21.12.2023 07:30

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?

Ответить
@ekkamailax
@ekkamailax - 21.12.2023 07:19

Excellent video and very well explained.

Ответить
@yzufardiansyah3156
@yzufardiansyah3156 - 13.12.2023 17:05

Thank you,, so easy

Ответить
@user-ms7lw4no5f
@user-ms7lw4no5f - 09.12.2023 21:17

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.

Ответить
@Selavie-xp2nk
@Selavie-xp2nk - 07.12.2023 16:07

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!

Ответить
@ordermusic3941
@ordermusic3941 - 06.12.2023 21:22

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.

Ответить
@thoudamchitaranjan
@thoudamchitaranjan - 22.11.2023 20:09

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???

Ответить
@vicentemaiz8290
@vicentemaiz8290 - 08.11.2023 22:46

thanks!!

Ответить
@amazingfacts129
@amazingfacts129 - 31.10.2023 19:28

we have 25gb outfit data.can we train on It.same steps.

Ответить
@BlakeSevann2
@BlakeSevann2 - 23.10.2023 00:40

Forgot how to do it and came back, still an awesome video :D thanks again

Ответить
@eduardocambiaso9579
@eduardocambiaso9579 - 19.10.2023 22:50

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?

Ответить
@shaunbass444
@shaunbass444 - 13.10.2023 20:45

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

Ответить
@BlakeSevann2
@BlakeSevann2 - 08.10.2023 19:19

Great video, thank you very much!

Ответить
@fahamidurrahaman1882
@fahamidurrahaman1882 - 30.09.2023 00:30

regularization part is not in the code anymore

Ответить
@EMF-xx3mf
@EMF-xx3mf - 26.09.2023 11:40

Is there a way to do this without getting colab pro? Is there a free way?

Ответить
@nuransengul1439
@nuransengul1439 - 18.09.2023 13:56

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......

Ответить
@josephivill6533
@josephivill6533 - 13.09.2023 17:22

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'

Ответить
@professional5659
@professional5659 - 08.09.2023 02:13

The "Use_localtunnel" page is asking for "Endpoint IP", do you have any idea how to obtain it?

Ответить
@user-qt5ku8qq3l
@user-qt5ku8qq3l - 29.08.2023 19:48

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

Ответить
@d0nv3rgasarenoso91
@d0nv3rgasarenoso91 - 26.08.2023 12:35

Thank you for this video, it can be frustrating when you don't really understand what's going on and are just following tutorials

Ответить
@ai_and_gaming
@ai_and_gaming - 24.08.2023 18:56

Can we train with sdxl?

Ответить
@blacksyan
@blacksyan - 23.08.2023 02:35

Thanks for the tutorial, but now the localtunnel asks for IP. Where I can find the IP address required by local tunnel?

Ответить
@fatima93263
@fatima93263 - 19.08.2023 20:20

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.

Ответить
@KiraBue
@KiraBue - 10.08.2023 23:26

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...

Ответить
@ruedeclare
@ruedeclare - 09.08.2023 17:53

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.

Ответить
@minggnim
@minggnim - 01.08.2023 17:03

I don't have the window above "Dependencies".

Ответить
@arielle4087
@arielle4087 - 27.07.2023 00:27

Are you italian or argentinian? XD

Ответить
@Don_Coyote
@Don_Coyote - 24.07.2023 22:09

I find that 100 steps per image makes the most sense.
You also want to set save-interval to the same number.
And if you do that, you also want to change 2e-6 to 1e-6. You don't wanna speed through the learning rate, as 100 steps per image is already the sweet spot.

Ответить
@uroojakmal1726
@uroojakmal1726 - 22.07.2023 18:55

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.

Ответить
@benjaminos1445
@benjaminos1445 - 20.07.2023 01:44

Have you made the video to continue this one ? The one to show how to use our model.

Ответить
@user-oz5mo2vo9q
@user-oz5mo2vo9q - 19.07.2023 10:15

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?

Ответить
@PhylumVertebrae
@PhylumVertebrae - 13.07.2023 10:54

Can you show how to save it as a checkpoint directly?

Ответить
@ikissedscarlet
@ikissedscarlet - 06.07.2023 11:39

I think I am falling in love

Ответить
@GAMINGGEEKzzz
@GAMINGGEEKzzz - 05.07.2023 23:31

hello laura i am having an issue whenever i start stable diffusion and generating image it disconnects or loading any model

Ответить
@mohammadawwad7832
@mohammadawwad7832 - 04.07.2023 15:49

Very nice and clear, Anything regarding data Privacy ?

Ответить
@filliprenotazionilastminut7866
@filliprenotazionilastminut7866 - 28.06.2023 13:46

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!

Ответить
@LuppoDesign
@LuppoDesign - 27.06.2023 22:46

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

Ответить
@stijnvaneeckhoutte5009
@stijnvaneeckhoutte5009 - 24.06.2023 13:25

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.

Ответить
@CRIMELAB357
@CRIMELAB357 - 23.06.2023 23:33

[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?

Ответить
@angienavarrete3580
@angienavarrete3580 - 20.06.2023 20:54

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!

Ответить
@user-ot9zx9rg9w
@user-ot9zx9rg9w - 19.06.2023 00:28

Hi, just wondering I can no longer see the option to add concept images(regularization) any ideas?

Ответить
@4SP1DER
@4SP1DER - 12.06.2023 19:27

Hi Laura! Tunnel URL dont work. I clicked "Click to Submit" but it needs Endpoint IP. How can I solve this?

Ответить