GithubHelp home page GithubHelp logo

Comments (3)

rSh4d0w avatar rSh4d0w commented on August 24, 2024

You have to put the path were your checkpoint is.
if your model lays in a folder called "output" which resides in the same folder as train_dreambooth.py you would set it to MODEL_NAME="output".
accelerate config, depends on your setup.
How many CPUs and GPUs do you have?
Select that what fits you.
If you only got one GPU/CPU you can't do distributed training, and choose simply 0.
For deepspeed simply choose NO. Unless you know what you do.
For further help, read the documentation at https://huggingface.co/docs/accelerate/v0.12.0/en/package_reference/cli#accelerate-config

from diffusers.

311-code avatar 311-code commented on August 24, 2024

Hey guys, I followed Nerdy Rodents video here and it solved all the issues. His video after that covers converting the output to a ckpt file also. I am on a 3080 10gb and 12 core 5900x and everything works great.

Make sure you use his pastebin link for the cuda install stuff and not the nvidia site links stuff because it's newer there and not compatible with bitsandbytes yet. It took me forever to realize what was happening. Now if I could only figure out how to use this all offline because when I disconnect internet it gives huggingface token https error during training. I tried disabling the token stuff in the .sh file but it doesn't allow training then. I really don't want to be forced to be connected when uploading pics of myself, call me paranoid.

One more tip was to make sure your training .sh file you upload is formatted for unix before sending it over to ubuntu, I had no idea this was a thing. In notepad++ you go to Edit, EOL Conversion, and choose Unix (LF) Before Windows was formatting the empty space with hidden characters and training wouldn't work. Hope this helps!

from diffusers.

ZeroCool22 avatar ZeroCool22 commented on August 24, 2024

Hey guys, I followed Nerdy Rodents video here and it solved all the issues. His video after that covers converting the output to a ckpt file also. I am on a 3080 10gb and 12 core 5900x and everything works great.

Make sure you use his pastebin link for the cuda install stuff and not the nvidia site links stuff because it's newer there and not compatible with bitsandbytes yet. It took me forever to realize what was happening. Now if I could only figure out how to use this all offline because when I disconnect internet it gives huggingface token https error during training. I tried disabling the token stuff in the .sh file but it doesn't allow training then. I really don't want to be forced to be connected when uploading pics of myself, call me paranoid.

One more tip was to make sure your training .sh file you upload is formatted for unix before sending it over to ubuntu, I had no idea this was a thing. In notepad++ you go to Edit, EOL Conversion, and choose Unix (LF) Before Windows was formatting the empty space with hidden characters and training wouldn't work. Hope this helps!

Can you help me i'm having some problems.

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.