question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

training sd with dreambooth/textual inversion with two different class of images

See original GitHub issue

Describe the bug

Hi,

I am following stable diffusion training with the dreambooth example at local machine. Although the following link gives every details about training sd, however I am unable to identify utilizing this example when I have two or more different classes of images.: https://github.com/huggingface/diffusers/tree/main/examples/dreambooth#training-on-a-16gb-gpu

For example, Instead of using only dog toy example, the user also want to include cat toy example for single training script.

Reproduction

No response

Logs

No response

System Info

  • diffusers version: 0.9.0
  • Platform: Linux-5.10.133±x86_64-with-Ubuntu-18.04-bionic
  • Python version: 3.7.15
  • PyTorch version (GPU?): 1.12.1+cu113 (True)
  • Huggingface_hub version: 0.11.1
  • Transformers version: 4.24.0
  • Using GPU in script?: (True)
  • Using distributed or parallel set-up in script?: No

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
hamzafarcommented, Dec 2, 2022

Thanks for sharing update @williamberman. It would wonderful if the script also takes multiple prompts(list).

1reaction
williambermancommented, Dec 2, 2022

We have a script that potentially can manage multiple subjects. We’ll see how good the results are before updating the existing script in the repo but don’t have an exact timeline when will have that tested! Thank you for bearing with us @hamzafar 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Roope Rainisto on Twitter: "It's not even super sensitive to the ...
Dreambooth training for Stable Diffusion is extremely powerful. ... to the "person" class to create very convincing looking images of them.
Read more >
Training Stable Diffusion with Dreambooth using Diffusers
Both techniques have a similar goal, but their approaches are different. In this experiment we first ran textual inversion for 2000 steps. From ......
Read more >
The difference between DreamBooth models, and Textual ...
Textual inversion while more manageable after the fact, is NOT EVEN CLOSE to as good as a properly trained dreambooth model.
Read more >
Textual Inversion and Hypernetworks - Stable Diffusion 2
Want to train a Hypernetwork or Textual Inversion Embedding, even though you've got just a single image ? Then welcome to this deep-dive...
Read more >
Train Stable Diffusion With Your Images Using Google's AI!
Dreambooth is Google's new AI and it allows you to train a stable diffusion model with your own pictures with better results than...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found