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

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 มิ.ย. 2024
  • IMPORTANT NOTE: YOU CANNOT RUN THIS CODE WITHOUT UPGRADING TO COLAB PRO
    Training, or Fine-Tuning, your Stable Diffusion model cannot be easier with DreamBooth! Using Google Colab, I will walk you through generating images with specific subjects, objects, or styles!
    📣📣📣I have just opened a Discord page to discuss SD and AI Art - common issues and news - join using the link: / discord
    👀 Struggling to run Stable Diffusion locally? You can try DiffusionHub!
    🤑Get 20% MORE DiffusionHub CREDIT using the link below or using the promo code LAURA20!
    Link: diffusionhub.io?fpr=laura17
    🤙🏻 Follow me on Medium to get my Newsletter:
    - Get UNLIMITED access to all articles: / membership
    - Laura: / lauracarnevali
    - Intelligent Art: / intelligent
    📰 Article:
    / training-fine-tuning-y...
    📌 Links:
    Google Colab Notebook: colab.research.google.com/git...
    Step by Step guide by Excalibro1: github.com/Excalibro1/fast-st...
    Ruiz et al., DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation: dreambooth.github.io
    Patil et al., Training Stable Diffusion with Dreambooth: wandb.ai/psuraj/dreambooth/re...
    Hugging Face: huggingface.co
    Crop with Birme: www.birme.net
    00:43 What is Fine-Tuning?
    00:53 What is DreamBooth?
    03:09 Open the Colab Notebook
    03:33 Connect Colab to Google Drive
    03:51 Install Dependencies
    04:05 Model Download/Load
    05:32 Create a New Session
    06:29 Load an Existing Session
    07:10 Upload Instance Images
    11:32 Captions
    12:53 Concept Images (Heavy Regularization)
    14:05 Training the Model
    19:36 Test the Trained Model
    20:05 Create Images w/Stable Diffusion
    25:30 Upload Model to Hugging Face
    #aiart #stablediffusion #generativeart #googlecolab #colab #training #dreambooth #modeltrains #stablediffusionai #stablediffusiontutorial

ความคิดเห็น • 186

  • @LaCarnevali
    @LaCarnevali  ปีที่แล้ว +1

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

  • @calvinlparks
    @calvinlparks ปีที่แล้ว +1

    Very cool and clear. Thanks again Laura!

  • @jamesbriggs
    @jamesbriggs ปีที่แล้ว +1

    Super helpful, thanks!

  • @minigabiworld
    @minigabiworld ปีที่แล้ว

    Great video! Great job!

  • @killzann7757
    @killzann7757 5 วันที่ผ่านมา

    this is what i was looking for! thank u so much!

  • @user-ld6oe3of6x
    @user-ld6oe3of6x ปีที่แล้ว +4

    Great job thanks! Could you explain hot to train Lora, in order to use combined with other models

  • @cadid1
    @cadid1 ปีที่แล้ว

    Thanks for the tutorial!!!

    • @cadid1
      @cadid1 ปีที่แล้ว

      Could you make a tutorial about textual inversion embeddings, please?

  • @aouzestudio
    @aouzestudio ปีที่แล้ว

    Welcome to Thailand :) im one of your fans , hope you really enjoy your holiday.

    • @LaCarnevali
      @LaCarnevali  ปีที่แล้ว +1

      Thanks! I love Thailand! 🥰

  • @ekkamailax
    @ekkamailax 5 หลายเดือนก่อน

    Excellent video and very well explained.

  • @BlakeSevann2
    @BlakeSevann2 8 หลายเดือนก่อน

    Great video, thank you very much!

  • @SouthbayCreations
    @SouthbayCreations ปีที่แล้ว +1

    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  ปีที่แล้ว +4

      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 ปีที่แล้ว +1

      @@LaCarnevali Fantastic! Thank you very much!

  • @AmirRifaix
    @AmirRifaix 24 วันที่ผ่านมา

    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)

  • @angel_rf
    @angel_rf หลายเดือนก่อน

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

  • @j1124
    @j1124 ปีที่แล้ว +1

    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

  • @BlakeSevann2
    @BlakeSevann2 7 หลายเดือนก่อน

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

    • @Minahil-zw6wt
      @Minahil-zw6wt 4 หลายเดือนก่อน

      hey how did you do it?

    • @BlakeSevann2
      @BlakeSevann2 4 หลายเดือนก่อน

      ​@@Minahil-zw6wtsadly it doesn't work anymore because they havent updated it.

    • @Minahil-zw6wt
      @Minahil-zw6wt 4 หลายเดือนก่อน

      @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

    • @BlakeSevann2
      @BlakeSevann2 2 หลายเดือนก่อน

      @@Minahil-zw6wt unfortunately i don't :(

  • @d0nv3rgasarenoso91
    @d0nv3rgasarenoso91 9 หลายเดือนก่อน

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

  • @yzufardiansyah3156
    @yzufardiansyah3156 5 หลายเดือนก่อน

    Thank you,, so easy

  • @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 :)

  • @eduardocambiaso9579
    @eduardocambiaso9579 7 หลายเดือนก่อน +3

    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 หลายเดือนก่อน

      same issue here

  • @ruedeclare
    @ruedeclare 10 หลายเดือนก่อน

    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  10 หลายเดือนก่อน +1

      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

  • @jeffmurray1102
    @jeffmurray1102 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน +1

      Hi, you can use the 'deprecated' folder for that :)

  • @user-mw9ku2un8q
    @user-mw9ku2un8q 3 วันที่ผ่านมา

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

  • @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  ปีที่แล้ว +2

      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?

  • @blacksyan
    @blacksyan 9 หลายเดือนก่อน +1

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

  • @suzanazzz
    @suzanazzz ปีที่แล้ว +1

    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  ปีที่แล้ว +3

      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

  • @DanielRodrigues-bx6lr
    @DanielRodrigues-bx6lr 4 หลายเดือนก่อน

    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?

  • @LuppoDesign
    @LuppoDesign 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      Hi, training from scratch requires many images (thousands) and time. I haven't made a video, but might think about making one

  • @shaunbass444
    @shaunbass444 7 หลายเดือนก่อน

    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  7 หลายเดือนก่อน +1

      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)

  • @mohammadawwad7832
    @mohammadawwad7832 11 หลายเดือนก่อน

    Very nice and clear, Anything regarding data Privacy ?

  • @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  ปีที่แล้ว +1

      @@mrkeyzzz Yes, the free version was banned by Google last month, unfortunately. So you can now run it only on the pro version

  • @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  ปีที่แล้ว +1

      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

  • @vicentemaiz8290
    @vicentemaiz8290 7 หลายเดือนก่อน

    thanks!!

  • @beytullahyayla7401
    @beytullahyayla7401 2 หลายเดือนก่อน

    Hi, at the end of the notebook when we try to open webui, it ask for a tunnel password?

  • @user-qt5ku8qq3l
    @user-qt5ku8qq3l 9 หลายเดือนก่อน

    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

  • @Selavie-xp2nk
    @Selavie-xp2nk 6 หลายเดือนก่อน +3

    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 5 หลายเดือนก่อน +1

      Same here, did you manage to solve this?

    • @LaCarnevali
      @LaCarnevali  5 หลายเดือนก่อน +1

      probably need to upgrade to Colab Pro

    • @victoremanuelgyn
      @victoremanuelgyn 4 หลายเดือนก่อน

      Did you solve?@@AntanasStasiunas

    • @RAHUL-tw1zu
      @RAHUL-tw1zu 4 หลายเดือนก่อน

      @@AntanasStasiunas I think this would require the paid version of collab i,e, Collab PRo

    • @estheryang1295
      @estheryang1295 3 หลายเดือนก่อน +1

      no you just need to run !pip install cchardet

  • @nk6971
    @nk6971 ปีที่แล้ว

    Please can we get one on textual inversion for Google collab

  • @user-us1qx7vx4c
    @user-us1qx7vx4c 4 หลายเดือนก่อน

    where can I find the fast dreamBooth google drive folder?

  • @rohitrai6815
    @rohitrai6815 3 หลายเดือนก่อน

    if i have many images so how should i add caption to every image

  • @angienavarrete3580
    @angienavarrete3580 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

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

  • @thoudamchitaranjan
    @thoudamchitaranjan 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

      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

    • @thoudamchitaranjan
      @thoudamchitaranjan 6 หลายเดือนก่อน

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

  • @yanex4631
    @yanex4631 ปีที่แล้ว +4

    please part two, a way so that the image does not display hand or body errors🙏🙏

  • @user-ms7lw4no5f
    @user-ms7lw4no5f 6 หลายเดือนก่อน

    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.

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

  • @stijnvaneeckhoutte5009
    @stijnvaneeckhoutte5009 11 หลายเดือนก่อน

    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.

  • @fatima93263
    @fatima93263 9 หลายเดือนก่อน +1

    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  9 หลายเดือนก่อน

      You can use this notebook: colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast_stable_diffusion_AUTOMATIC1111.ipynb

  • @ordermusic3941
    @ordermusic3941 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

      You can probably do that without training - anyway, it will require another video 🫠

  • @user-pg3gc4fq1o
    @user-pg3gc4fq1o 3 หลายเดือนก่อน

    That's awesome! But I am encountering some tensor size issues can anyone here help me how to resolve this issue

  • @user-oz5mo2vo9q
    @user-oz5mo2vo9q 10 หลายเดือนก่อน +1

    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  10 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

      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 7 หลายเดือนก่อน

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

  • @SouthbayCreations
    @SouthbayCreations ปีที่แล้ว +1

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

  • @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  ปีที่แล้ว +1

      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

  • @user-ot9zx9rg9w
    @user-ot9zx9rg9w 11 หลายเดือนก่อน

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

    • @LaCarnevali
      @LaCarnevali  11 หลายเดือนก่อน

      I cannot see them as well - it seems they have updated the notebook

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

  • @FM-zp2hl
    @FM-zp2hl 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      Have you upgraded to Colab Pro?

    • @FM-zp2hl
      @FM-zp2hl 4 หลายเดือนก่อน

      @@LaCarnevali Yes

    • @FM-zp2hl
      @FM-zp2hl 4 หลายเดือนก่อน

      @@LaCarnevali Hello, yes

  • @PhylumVertebrae
    @PhylumVertebrae 10 หลายเดือนก่อน

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

  • @amazingfacts129
    @amazingfacts129 7 หลายเดือนก่อน

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

  • @minggnim
    @minggnim 10 หลายเดือนก่อน

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

    • @LaCarnevali
      @LaCarnevali  10 หลายเดือนก่อน

      it can be that the notebook has been updated since the video - do you have requirements?

  • @KiraBue
    @KiraBue 10 หลายเดือนก่อน

    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  9 หลายเดือนก่อน

      Hi, it can be. When you open the notebook, go into runtime, and change runtime to GPU to make sure you're using it

  • @ekkamailax
    @ekkamailax 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน

      It would be better to call the model with something the model doesnt know, like L4vr4. Including numbers within the model name is ideal.

  • @professional5659
    @professional5659 9 หลายเดือนก่อน

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

    • @LaCarnevali
      @LaCarnevali  8 หลายเดือนก่อน

      Not sure - I would avoid the local tunnel

  • @fahamidurrahaman1882
    @fahamidurrahaman1882 8 หลายเดือนก่อน

    regularization part is not in the code anymore

  • @daganmiller8604
    @daganmiller8604 ปีที่แล้ว

    Can you do a tutorial on how to train a Lora or Textual Inversion with Google Colab?

  • @pelomundo2080
    @pelomundo2080 ปีที่แล้ว +1

    🙌🙌🙌🙌

  • @josephivill6533
    @josephivill6533 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      Have you upgraded to Colab Pro?

    • @josephivill6533
      @josephivill6533 8 หลายเดือนก่อน

      @@LaCarnevali yep I have! Do I need to have pre installed stable diffusion on my Mac first?

    • @LaCarnevali
      @LaCarnevali  8 หลายเดือนก่อน

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

  • @jasongaretthatcher
    @jasongaretthatcher 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

      it works, but it's under payment (~10$ / month)

  • @juliagarcia7302
    @juliagarcia7302 หลายเดือนก่อน

    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  หลายเดือนก่อน

      yes, it has been updated

  • @silvanproductions8478
    @silvanproductions8478 4 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

      Click +code on top left and run pip install pyngrok

  • @uroojakmal1726
    @uroojakmal1726 10 หลายเดือนก่อน

    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  10 หลายเดือนก่อน

      Are you using Colab pro?

    • @uroojakmal1726
      @uroojakmal1726 10 หลายเดือนก่อน

      @@LaCarnevali No the free version

    • @LaCarnevali
      @LaCarnevali  10 หลายเดือนก่อน +1

      @@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 10 หลายเดือนก่อน

      @LaCarnevali Thanks a lot dear for your help.

  • @user-ux3el2lv9h
    @user-ux3el2lv9h 2 หลายเดือนก่อน

    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 หลายเดือนก่อน

      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

  • @hamitdes7865
    @hamitdes7865 4 หลายเดือนก่อน

    After training to use tunnel it is asking for tunnel password from where can I get tunnel password?

  • @EMF-xx3mf
    @EMF-xx3mf 8 หลายเดือนก่อน

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

    • @LaCarnevali
      @LaCarnevali  8 หลายเดือนก่อน

      unless locally, not that I m aware

  • @user-bg7ut6qt7w
    @user-bg7ut6qt7w ปีที่แล้ว +1

    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  ปีที่แล้ว +2

      Hi! Sure, thank you for the suggestion :) will do that

  • @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 11 หลายเดือนก่อน

      @@LaCarnevali How come!!! Very sad. Thanks a lot for your help.

    • @4SP1DER
      @4SP1DER 11 หลายเดือนก่อน

      @@LaCarnevali How can i run it without tunnel?

  • @ai_and_gaming
    @ai_and_gaming 9 หลายเดือนก่อน

    Can we train with sdxl?

    • @LaCarnevali
      @LaCarnevali  9 หลายเดือนก่อน

      yup, there should be an updated kohya file to train SDXL

  • @diggydretv
    @diggydretv ปีที่แล้ว

    How can I do this with Dreambooth in Automatic1111?

    • @LaCarnevali
      @LaCarnevali  ปีที่แล้ว +1

      This requires another video lol

  • @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  ปีที่แล้ว +1

      Ciao Valerio. Si puoi installarlo. Ti consiglio di seguire questo video:
      th-cam.com/video/dIB4GW3iACQ/w-d-xo.html
      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.

  • @CRIMELAB357
    @CRIMELAB357 11 หลายเดือนก่อน

    [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 11 หลายเดือนก่อน

      [PS. I can't find any yt tutorial to help me, if anyone can link a tut,that b awesome]

    • @LaCarnevali
      @LaCarnevali  11 หลายเดือนก่อน

      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

  • @GAMINGGEEKzzz
    @GAMINGGEEKzzz 11 หลายเดือนก่อน

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

    • @LaCarnevali
      @LaCarnevali  11 หลายเดือนก่อน

      what error do you get?

    • @GAMINGGEEKzzz
      @GAMINGGEEKzzz 11 หลายเดือนก่อน

      @@LaCarnevali disconnected and i cant reload it again so i have to restart the whole thing again

    • @LaCarnevali
      @LaCarnevali  11 หลายเดือนก่อน +1

      @@GAMINGGEEKzzz oh yeah - this is a common issue unfortunately. Nothing we can do about that

  • @pricelessalpaca
    @pricelessalpaca ปีที่แล้ว

    What are the words you used to generate your cat in these images?

    • @LaCarnevali
      @LaCarnevali  ปีที่แล้ว

      Sorry, I don't remember!

  • @nuransengul1439
    @nuransengul1439 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      Do you have Colab Pro? What is the issue exactly?

  • @ikissedscarlet
    @ikissedscarlet 11 หลายเดือนก่อน

    I think I am falling in love

  • @filliprenotazionilastminut7866
    @filliprenotazionilastminut7866 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      Try running it without Gradio?

  • @bgm1
    @bgm1 ปีที่แล้ว +1

    😍🥰👍🙏

  • @benjaminos1445
    @benjaminos1445 10 หลายเดือนก่อน

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

    • @LaCarnevali
      @LaCarnevali  10 หลายเดือนก่อน

      yes, but I haven't uploaded it, need to do that sorry >.

    • @benjaminos1445
      @benjaminos1445 10 หลายเดือนก่อน

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

  • @rohitrai6815
    @rohitrai6815 3 หลายเดือนก่อน

    When i am going to local tunnel tab so its asking for password how to get it

  • @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

  • @karticksharmapro1523
    @karticksharmapro1523 ปีที่แล้ว

    BRO LAURA MEANS dICK IN MY COUNTRY MY WHOLE OFFICE IS LAUGHING SORRY BRO BUT FOR ME ITS LOT OF FUN

  • @NetTubeUser
    @NetTubeUser 10 หลายเดือนก่อน

    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.

  • @forheuristiclifeksh7836
    @forheuristiclifeksh7836 6 หลายเดือนก่อน

    4:09

  • @akshara8812
    @akshara8812 5 หลายเดือนก่อน

    12:03 isnt she looking left?

    • @LaCarnevali
      @LaCarnevali  4 หลายเดือนก่อน

      LOL, yeah

  • @arielle4087
    @arielle4087 10 หลายเดือนก่อน

    Are you italian or argentinian? XD

    • @LaCarnevali
      @LaCarnevali  10 หลายเดือนก่อน

      Italian