GithubHelp home page GithubHelp logo

Comments (8)

ShivamShrirao avatar ShivamShrirao commented on July 22, 2024

Hey, I have had this in mind for some time, just haven't got enough time yet to complete it.

from diffusers.

1blackbar avatar 1blackbar commented on July 22, 2024

THat would be really great to have ! Id love to train multiple subjects at once instead of keeping new ckpt for each

from diffusers.

Hugo-Matias avatar Hugo-Matias commented on July 22, 2024

Thanks Shivam, that's great news! I don't have the required expertise to be much help other than spreading the word but it's nice to know you've already considered it.

Someone posted a similar implementation on reddit a few days ago, might be useful to have a look as well.

Since most people are training models on several different subjects/styles, having a way to train everything in a single model is desirable as managing multiple 2GB becomes wasteful and unpractical. This feels like the logical next step for Dreambooth.

from diffusers.

ShivamShrirao avatar ShivamShrirao commented on July 22, 2024

Added in 351f3b6

from diffusers.

Hugo-Matias avatar Hugo-Matias commented on July 22, 2024

What a legend! That was lightning fast, really eager to try it out. Thanks once again.

from diffusers.

Hugo-Matias avatar Hugo-Matias commented on July 22, 2024

Sorry for nagging, a couple of questions popped into mind when I was training with the new method.

Is the number of class images parameter set per concept or is it the sum of all? For instance if I have a concept with a "person" class and another with a "style" class. Setting num_class_images to 500 will it pick 250 or 500 from each path?

Can we continue training if instead of pointing to huggingface we use a diffusers model saved from a previous session? Is that feasible or will it mess the model regardless of the parameters you use?

from diffusers.

ShivamShrirao avatar ShivamShrirao commented on July 22, 2024

@Hugo-Matias per concept.
500 from each.

You can continue training.
Depends how much it was trained and on what.

from diffusers.

Hugo-Matias avatar Hugo-Matias commented on July 22, 2024

Awesome, thanks for the fast reply.

Sorry for taking too much your time, forgot to ask this observation from the latest training.

Are the concepts trained in sequence or the steps constantly switch between them?
Let's say if I hypothetically have 2 concepts of 10 instance images each, so an epoch is 10 steps. What would happen if I set a maximum step count of 6? Does it do 3 steps on each or just 6 on the first? I'm asking this because I trained 2 persons with the same class, same amount of instance images and it looks like the second one is a bit worse in terms of resemblance. Perhaps I should train it alone to see if there is something wrong with my numbers or the dataset used.

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.