[Tutorial] Create Your Own LoRA | Easy and Free! - Google Colab

Sdílet
Vložit
  • čas přidán 1. 09. 2023
  • Welcome to our Google Colab tutorial on how to create your own Loras effortlessly and for free! In this step-by-step guide, we'll introduce you to the amazing Stable Diffusion tool and Dreambooth for Google Colab, unlocking your creativity to produce fantastic AI art.
    Whether you're an aspiring artist, comic book enthusiast, or someone who simply wants to explore AI artistry, this tutorial has something exciting for you.
    Discover the magic of Stable Diffusion Google Colab, where art creation becomes a breeze with its intuitive interface. We'll show you how to set up Lora training with ease and unleash your imagination to design unique comic book characters.
    Not just that, you'll also learn how to create AI art from your very own pictures, transforming ordinary photos into stunning artistic masterpieces. Dreambooth in Google Colab will be your creative playground, where you can experiment with good prompts to generate awe-inspiring results.
    The best part? It's all done within Google Colab, so no need to worry about software installation or hardware requirements. Everything is automatic, easy, and accessible.
    So, what are you waiting for? Grab your imagination and embark on this artistic journey with Stable Diffusion, Dreambooth, and Google Colab! Click play to begin your Lora adventure and let your creativity shine.
    Don't forget to like, subscribe, and hit the notification bell to stay updated on more tutorials and AI art adventures. Let's get started!
    Link GUIDE
    civitai.com/models/22530
    Crop images
    www.birme.net/
    Webp to png
    www.freeconvert.com/webp-to-p...
    Link DRIVE for Google Colab of Sample Lora:
    drive.google.com/file/d/1VrRd...
    Link Model original CyberRealistic
    civitai.com/models/15003
    Link Model original Consistent Factor
    civitai.com/models/9114
    LINK TO THE LORAS CREATED IN THIS TUTORIAL
    drive.google.com/drive/folder...
    Contact
    Twitter: / aimalverse
    Discord: aimalverse
    Email: aimalverse@gmail.com

Komentáře • 108

  • @daganmiller8604
    @daganmiller8604 Před 5 dny

    I've seen a few tutorials on Loras and I would always run into a problem along the way but your method is very smooth and easy to follow and have come out pretty good. The only thing I've struggled with is training at 768 size instead of 512, it seems to cause errors so I've just settled with 512 for now.

  • @user-qh4rr3fq4g
    @user-qh4rr3fq4g Před 9 měsíci +3

    Thank you so much for this video. You're a life saver.

    • @raistar72
      @raistar72 Před 9 měsíci

      I am getting error at middle you are using colab pro?

    • @user-un5zk5fr2y
      @user-un5zk5fr2y Před 8 měsíci

      @@raistar72 free

    • @raistar72
      @raistar72 Před 8 měsíci

      @@user-un5zk5fr2y what is the reason for error "balance: 0"

    • @EveryBeardHasAStory
      @EveryBeardHasAStory Před měsícem

      What part of stealing someone's identity is so vital to your existence that you consider this tutorial a life saver? Lmao...

  • @OwOUwUOnO
    @OwOUwUOnO Před 23 dny

    Dang man, I watched other youtube videos & they making me do everything the hard way. This seems like a much smoother method, I'm new to A.i. generation. Most of the time I never get any answers when I ask around about making LORAs.

  • @user-vw5ms8pb2o
    @user-vw5ms8pb2o Před 5 měsíci +6

    How to take the final step, but in foocus? Is it possible? Coolab disconnects all the time.

  • @housejones
    @housejones Před 9 měsíci +1

    TYSM for sharing it was very helpful.

    • @MalverseAI
      @MalverseAI  Před 9 měsíci +1

      No problem 😊

    • @raistar72
      @raistar72 Před 9 měsíci

      I am getting error at middle you are using colab pro?

  • @Showbiz_CH
    @Showbiz_CH Před 5 měsíci

    Good and simple. I wish you'd explain triggerwords and caption more, though

  • @user-gz9zc1ex5t
    @user-gz9zc1ex5t Před 7 měsíci +1

    What is the best configuration for "Anime Characters"? SD 1.5? Tags? Steps? Épochs? (I have 12 images)

  • @saytriich
    @saytriich Před 9 měsíci

    Thank you that works

    • @raistar72
      @raistar72 Před 9 měsíci

      Pro colab or normal google colab

    • @saytriich
      @saytriich Před 9 měsíci

      i use pro colab @@raistar72

  • @gaslightstudio3528
    @gaslightstudio3528 Před 4 měsíci +1

    great tutorial but please make soundtrack softer preferably instrumental since it clashes with your voice and it is so important to hear your details

  • @rbdesignguy
    @rbdesignguy Před měsícem

    Typically I just use roop and get some of the best looking faces when combing actor face.. but this probably gives more blended and less photoshop feeling

  • @icyberta
    @icyberta Před 4 dny +1

    sample doesn't works, Collab stops it

  • @tjfreeman7179
    @tjfreeman7179 Před 8 měsíci +2

    I'm not getting the link of Gradia, what's the fix?

  • @mohammedmahboob6908
    @mohammedmahboob6908 Před 9 měsíci +3

    My colab also gets disconnected

  • @Faded_Fragger
    @Faded_Fragger Před 7 měsíci +4

    instead of creating lora for the face, can you create lora for a specific body? because face i can already face-swap. what im looking for is consistent body. And for that, would i get my dataset with photos with the face or just the body?

  • @moderncapitalist
    @moderncapitalist Před 8 měsíci +1

    Hello, I'm getting a "AttributeError: 'ImageDraw' object has no attribute 'multiline_textsize'" error at the last phase of drawing the X/Y chart (11:30) in the video. The plot diagram does not output in Stable Diffusion. A brief google search shows that this may have to do with the Python version?

    • @moderncapitalist
      @moderncapitalist Před 8 měsíci

      hmmm, resolved this by unchecking the "Draw legend" box. I don't really know what this option does though...

  • @tjfreeman7179
    @tjfreeman7179 Před 9 měsíci

    Now this helped me out. Big thanks!

    • @MalverseAI
      @MalverseAI  Před 9 měsíci +1

      No problem!

    • @tjfreeman7179
      @tjfreeman7179 Před 9 měsíci

      How do i fix this error:
      Warning: such file or directory
      0 225k 0 994 0 0 768 0 0:05:01 0:00:01 0:05:00 768
      curl: (23) Failure writing output to destination
      cp: cannot create regular file '/content/microsoftexcel/models/Lora': No such file or directory

    • @raistar72
      @raistar72 Před 9 měsíci

      I am getting error at middle you are using colab pro?

  • @rioo3332
    @rioo3332 Před 6 měsíci +1

    I Big understand, where u got sampleLora??!!!!!

  • @user-ju4zf1rx8b
    @user-ju4zf1rx8b Před 9 měsíci

    the best the best the bestttttt i love you

    • @raistar72
      @raistar72 Před 9 měsíci

      I am getting error at middle you are using colab pro?

  • @brunoribeiro1387
    @brunoribeiro1387 Před 3 měsíci +1

    Could I create a Lore with a character made by AI too ? If it could be possible can I take this Lora and use it on different Models too ?

  • @nya4336
    @nya4336 Před 9 měsíci +1

    can i try all 10 at once?

  • @semihpaker3857
    @semihpaker3857 Před 5 měsíci +2

    Hey , when i writed x value and y value i see RuntimeError: Prompt S/R did not find -0.5 in prompt or negative prompt. how i can correct ? Thank you

  • @chaitanyamore8786
    @chaitanyamore8786 Před 3 měsíci

    Google colab giving me gpu backnd error after downloding model is it bug?

  • @FM-zp2hl
    @FM-zp2hl Před 6 měsíci +2

    Nice video there, I keep getting this error: The model you selected is invalid or corrupted, or couldn't be downloaded. You can use a civitai or huggingface link, or any direct download link."
    I have used many link to different models but still not working

  •  Před 3 měsíci +1

    I am getting stuck in the Sample Lora (part 3): the log ends with 'ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor''. Seems to be an xformers and pytorch issue.. @MalverseAI any idea why? Is the Sample Lora in the link of your description still up to date?

  • @anon3253
    @anon3253 Před měsícem

    i cant install kohya bc my python version is 3.12 :(

  • @jonaskilian6143
    @jonaskilian6143 Před 9 měsíci

    works fine until the step where I want to open stable diffusion. I copy the prompt etc and then it gives me an error because the GPU on collab has disconnected. Any suggestions?

    • @user-rw6pq6un7o
      @user-rw6pq6un7o Před 9 měsíci +2

      Google have started banning the use of sd web ui

  • @ErikTavaresDosAnjos
    @ErikTavaresDosAnjos Před 3 měsíci +1

    HI people,
    Did anyone have this error?
    RuntimeError: Prompt S/R did not find -05 in prompt or negative prompt.

    • @FightClubGarmz
      @FightClubGarmz Před měsícem

      Sounds like the weight of your lora is not in the correct format. Typically it would read as “” for exg. Keep the “.” In between the numbers “1.4”, or “2.1” this indicates the strength of the lora as the “x/y/z” testing indicates in the tutorial in SD1111.

  • @atruereview7298
    @atruereview7298 Před 6 měsíci

    Can you please help me with making one

  • @FM-zp2hl
    @FM-zp2hl Před 6 měsíci +2

    Hello how do you find the trigger word for each of those Lora's

    • @Manant.
      @Manant. Před 6 měsíci

      Did you find the answer? I’d like to know as well

    • @thejamesarnold
      @thejamesarnold Před 6 měsíci +1

      replace the contents of the text files to the trigger word like "margotrobbie001", "margotrobbienew", etc. make the trigger word unique especially for celebrities because "margot robbie" could be already trained in the model that you are using... You can also change the text file to describe the picture with the person for example "margotrobbie001 wearing pink dress", etc

    • @Manant.
      @Manant. Před 6 měsíci

      @@thejamesarnold ty fam 👍🏼

  • @bigguybruno5991
    @bigguybruno5991 Před 9 měsíci

    when I put the numbers for the x type prompt it gives me an error that there isnt (number) in the prompt

    • @MalverseAI
      @MalverseAI  Před 9 měsíci

      check on your drive which are the correct numbers, or just test 1 by 1 the Loras

  • @thewebheadgt
    @thewebheadgt Před 4 měsíci +3

    Is cropping to 512x512 mandatory?

    • @j4m3s35
      @j4m3s35 Před 3 měsíci

      i was gonna ask the same question

  • @matthewhurd1272
    @matthewhurd1272 Před 9 měsíci +1

    How do you load the notebook it doesnt come up on mine

  • @tmoblak
    @tmoblak Před 6 měsíci

    I somehow cannot get past the steps/epochs training step. All I get is "Error. Your total steps are too high. You probably made a mistake. Aborting..." and thats it. I tried to use as many steps what you recommended. I also tried lower number - still getting the same error.

    • @tmoblak
      @tmoblak Před 6 měsíci

      ..nevermind, i had to change epochs to steps in drop-down menu, my bad!

  • @jacquelynecarmen
    @jacquelynecarmen Před měsícem

    runtime disconnected

  • @shanehudson88
    @shanehudson88 Před 6 měsíci

    I dunno what you did at 11:00 in but you already had an image generated in stable diffusion. You dont explain how to add in the prompts your own lora that youve created. This is where I am stuck

    • @Showbiz_CH
      @Showbiz_CH Před 5 měsíci

      This step is just for testing the epochs and weights. Just write your own prompts

  • @shanehudson88
    @shanehudson88 Před 6 měsíci

    After clicking the Gradio link it says No interface is running right now..... How do i fix this??

    • @shanehudson88
      @shanehudson88 Před 6 měsíci

      It worked the second time because I didnt stop the colab like you suggested.

  • @MuhsinKP
    @MuhsinKP Před 5 měsíci

    Hello
    i'm getting this error
    curl: (23) Failure writing output to destination
    cp: cannot create regular file '/content/microsoftexcel/models/Lora': No such file or directory
    cp: cannot create regular file '/content/microsoftexcel/models/Lora': No such file or directory
    cp: cannot create regular file '/content/microsoftexcel/models/Lora': No such file or directory
    cp: cannot create regular file '/content/microsoftexcel/models/Lora': No such file or directory
    cp: cannot create regular file '/content/microsoftexcel/models/Lora': No such file or directory
    cp: cannot create regular file '/content/microsoftexcel/models/Lora': No such file or directory
    python3: can't open file '/content/launch.py': [Errno 2] No such file or directory
    could you please help

  • @tjfreeman7179
    @tjfreeman7179 Před 9 měsíci

    I run into an issue. how do i install gradio?

    • @thejamesarnold
      @thejamesarnold Před 6 měsíci

      google is banning gradio and other web UI.

  • @yolocrayolo1134
    @yolocrayolo1134 Před 9 měsíci

    no such file direcotory appears to me i will try later

  • @Nazukio
    @Nazukio Před 5 měsíci

    And what do I do when the Model is corrupted?

    • @FightClubGarmz
      @FightClubGarmz Před měsícem

      When downloading through a url, models can not download correctly, to fix this manually download the model locally and then upload to your notebook.

  • @enesalcatraz4470
    @enesalcatraz4470 Před 4 měsíci

    colab doesn't support gradio webui anymore but its still a good tutorial

  • @ridajaved861
    @ridajaved861 Před 9 měsíci +1

    when i run simple lora ipynb it does not complete and end the runtime any solution for that ?

  • @black_kuromi
    @black_kuromi Před 3 měsíci

    GPU DATA ID NOT FREE!!!

  • @D3coify
    @D3coify Před 6 měsíci +1

    Do I need a better google collab plan? I was in the a1111 ui and got disconnected from collab saying something about credit and time

    • @Emsyaz
      @Emsyaz Před 6 měsíci

      Free plan doesnt work

    • @D3coify
      @D3coify Před 6 měsíci

      @@Emsyaz ok ty,

  • @yogiwirawan861
    @yogiwirawan861 Před 9 měsíci

    Why my google colab keep disconeting”

    • @raghulmanikandan
      @raghulmanikandan Před 9 měsíci

      You need pro

    • @bluecity8152
      @bluecity8152 Před 5 měsíci

      @@raghulmanikandan If i upgrade to pro, then I can run the sample_lora? thank you

  • @TheSoleProprietor
    @TheSoleProprietor Před 3 měsíci

    You are going through the tutorial too fast. I can't keep up with you!

  • @the_meridian
    @the_meridian Před 5 měsíci +4

    "Easy" lol...

  • @mekkicharfi5454
    @mekkicharfi5454 Před 2 měsíci

    vous n'avez pas lu mon message , donc je le supprime !

  • @selfmasterytv
    @selfmasterytv Před 28 dny

    all this effort, it didn't catch the essense of the person at all though, thanks though

  • @JarppaGuru
    @JarppaGuru Před 2 měsíci

    free? last time i test something. space was not enought xD. we can do FREE on local. ldets not give our files to google?

  • @abhishekpatra7954
    @abhishekpatra7954 Před 9 měsíci +1

    Hello, sir. Could you please, if you don't mind, train an actress, let's say Alexandra Daddario original to pose using controlnet or any other tool you might know, to make her sniffing her armpits? Like i wanna see how far one can train SD to show an output like that?

  • @mdken2198
    @mdken2198 Před 3 dny

    everyone has a problems and you dont any respond. DELETE Video. WHAT a waste of a time!

  • @user-qz3cc8ko2j
    @user-qz3cc8ko2j Před měsícem

    Anyone getting :
    "ModuleNotFoundError:
    No module named 'torchvision.transforms.functional_tensor'" ?

  • @LetiferTV
    @LetiferTV Před 2 měsíci +1

    colab ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'