Comments (8)
Hey, I have had this in mind for some time, just haven't got enough time yet to complete it.
from diffusers.
THat would be really great to have ! Id love to train multiple subjects at once instead of keeping new ckpt for each
from diffusers.
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.
Added in 351f3b6
from diffusers.
What a legend! That was lightning fast, really eager to try it out. Thanks once again.
from diffusers.
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.
@Hugo-Matias per concept.
500 from each.
You can continue training.
Depends how much it was trained and on what.
from diffusers.
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)
- Gdrive connection down
- Problem
- Requirements failure, Thursday, May 4, 2023
- Dreambooth enabling xformers and set_grads_to_none raises unrecognized arguments error HOT 1
- Unable to install dependencies
- RuntimeError: Detected that PyTorch and torchvision were compiled with different CUDA versions. HOT 8
- TypeError: Accelerator.__init__() got an unexpected keyword argument 'logging_dir' HOT 17
- AssertionError: You can't use same `Accelerator()` instance with multiple models when using DeepSpeed
- Why is the generated picture deformed? Why can't I generate a face picture that is the same as the original picture?
- COLAB BOG
- Colab training error
- Train multiple subjects in the same model HOT 3
- Setup for Paperspace.com
- Colab Fails to run half the time on a V100 HOT 1
- DreamBooths created with current version of Colab cannot be converted to LORAs in Kohya
- Please fix the notebook, it refuses to work. Install Requirements tab HOT 17
- Requirements error
- xformers wasn't built with CUDA support HOT 1
- Colab dreambooth notebook fail HOT 21
- Install Requirements (Fail)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffusers.