# \[Query\] Dreambooth - for multi-class view generation

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fquery-dreambooth-for-multi-class-view-generation%2F34802%3E%5C
**Category:** 🧨 Diffusers\
**Created:** [March 27, 2023, 3:10pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fquery-dreambooth-for-multi-class-view-generation%2F34802 "2023-03-27T15:10:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![innat](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/innat/32/33255_2.png) [@innat](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finnat)%5C
**Post date:** [March 27, 2023, 3:10pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fquery-dreambooth-for-multi-class-view-generation%2F34802%2F1 "2023-03-27T15:10:28Z")

</div>

Quite similar to [this](https://github.com/huggingface/diffusers/issues/2599).

Assume there are five classes (flower object), i.e. [`daisy`, `dandelion`, `roses`, `sunflowers`, `tulips`]) and using dreambooth technique, would it be possible to generate new view from each of this object with their corresponding prompt (with a single model, not re-training on each object separately)…

> a photo of daisy  
> a photo of dandelion  
> a photo of roses  
> a photo of sunflowers  
> a photo of tulips

And training with

```python
--instance_data_dir="$instance_daisy, $instance_dandelion, ..."
--class_prompt="$prompt_daisy, $prompt_dandelion ..."\

```

It looks very usual cases, have anyone tried so far like this in dreambooth? Closes thing I’ve found is this [Research project multi subject dreambooth by klopsahlong · Pull Request #1948 · huggingface/diffusers · GitHub](https://github.com/huggingface/diffusers/pull/1948) but not optimal.

---

<div class="post-metadata">

**Author:** ![innat](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/innat/32/33255_2.png) [@innat](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Finnat)%5C
**Post date:** [April 3, 2023, 8:29am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fquery-dreambooth-for-multi-class-view-generation%2F34802%2F2 "2023-04-03T08:29:35Z")

</div>

It works.

> **[GitHub - TheLastBen/fast-stable-diffusion: fast-stable-diffusion + DreamBooth](https://github.com/TheLastBen/fast-stable-diffusion)**
>
> fast-stable-diffusion + DreamBooth. Contribute to TheLastBen/fast-stable-diffusion development by creating an account on GitHub.
