GithubHelp home page GithubHelp logo

Comments (17)

isMiaArt avatar isMiaArt commented on August 24, 2024 3

After trying different solutions, so far the only thing that has worked for me is this configuration.

Maybe it can also help those of you who have the same problem temporarily until the author updates the notebook.

1

I share the added code for convenience

%pip install torch==2.0.0+cu118 torchvision torchaudio torchdata torchtext --index-url https://download.pytorch.org/whl/cu118

import torchvision
print(torchvision.version)

%pip install triton==2.0.0

from diffusers.

chchchadzilla avatar chchchadzilla commented on August 24, 2024 1

I have tried different ways but have not found the solution to the problem. I hope that soon the author will be able to fix it

this doesn't fix it all, but it'll at least get it to work:

  1. add new code box after installation
  2. add this code:
# prompt: This will fix the colab book enough to use it-- sorry if you still get error messages. At least training should complete.

!pip uninstall xformers torch torchvision -y
!pip install torch==2.1.0 torchvision xformers -q

like i said it doesn't fix it, but it'll let you run training at least. cheers.

from diffusers.

VladAdushev avatar VladAdushev commented on August 24, 2024

https://github.com/ShivamShrirao/diffusers/tree/main/examples/dreambooth

from diffusers.

isMiaArt avatar isMiaArt commented on August 24, 2024

I have tried different ways but have not found the solution to the problem. I hope that soon the author will be able to fix it

from diffusers.

VladAdushev avatar VladAdushev commented on August 24, 2024

Thank you. This method is working. Yes, there are nuances. Gives an error, but continues to work. Finally makes a mistake on the "Inference" tab. But the model creates what was actually required.

from diffusers.

kamikariat avatar kamikariat commented on August 24, 2024

Thanks @isMiaArt - worked!

from diffusers.

kevindmccoy avatar kevindmccoy commented on August 24, 2024

Thanks @isMiaArt - it seems to be working for me in Google Colab also! I saved a copy of ShivamShrirao's notebook to my Google Drive... it hasn't made it to **** Running Training **** for me in days until now!

from diffusers.

alexeyugn avatar alexeyugn commented on August 24, 2024

Have you guys tried the created model after those errors? Because mine was created "well" too but crushes the SD while generating using it.

from diffusers.

kamikariat avatar kamikariat commented on August 24, 2024

@alexeyugn What do you mean by create model?

Are you referring to training or the inference part.

from diffusers.

VladAdushev avatar VladAdushev commented on August 24, 2024

Have you guys tried the created model after those errors? Because mine was created "well" too but crushes the SD while generating using it.

I confirm that this model does not work with automatics 111. I run it through the SDNext shell.
https://github.com/Em1tSan/stable-diffusion-portable

from diffusers.

alexeyugn avatar alexeyugn commented on August 24, 2024

@alexeyugn What do you mean by create model?
Are you referring to training or the inference part.

Both. I trained the model and .ckpt was created. Downloaded to SD Automatic1111, it crashed. Then tried to generate images right here, crashed also.

from diffusers.

kevindmccoy avatar kevindmccoy commented on August 24, 2024

I'm using NMKD, it works after merging the new model 95% with sd-1.5 5%. NMKD v1.11 has a problem with models created since about 7/24/2023 - NMKD v1.9.1 does work with them without merging though

from diffusers.

VladAdushev avatar VladAdushev commented on August 24, 2024

Shivam, please fix the notebook. If there is no way to fix it, write so, we will look for other options.

from diffusers.

chchchadzilla avatar chchchadzilla commented on August 24, 2024

Shivam, please fix the notebook. If there is no way to fix it, write so, we will look for other options.

see my reply above.

from diffusers.

VladAdushev avatar VladAdushev commented on August 24, 2024

see my reply above.

I've looked at your answer, even used it, but it's not a full-fledged fix. Not all SD versions can read these ckpt.

from diffusers.

chchchadzilla avatar chchchadzilla commented on August 24, 2024

see my reply above.

I've looked at your answer, even used it, but it's not a full-fledged fix. Not all SD versions can read these ckpt.

Right. Which is exactly what I said.

But, without diving head-first into train_dreambooth.py and figuring it out for yourself, and since this colab is a super convenient (i.e. already learned) way to train models that we all still obviously use, the fact is that you can train a functional diffusers weights/automatic1111 ckpt file that will work just fine using the steps I described.

You can then use one of the half-dozen-or-so auto1111 ext that converts ckpt to safetensors, or use kohya to extract the lora, and bingo bango. Dishes are done, dude.

from diffusers.

VladAdushev avatar VladAdushev commented on August 24, 2024

Who knows, tell me or give me a link. Is it possible to use this collage on a home computer (the video card allows). Apparently the authors of this creation scored on their product...

from diffusers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.