Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different configuration of "desc_prefix" for openimages dataset #83

Open
viviban opened this issue Sep 10, 2024 · 1 comment
Open

Different configuration of "desc_prefix" for openimages dataset #83

viviban opened this issue Sep 10, 2024 · 1 comment

Comments

@viviban
Copy link

viviban commented Sep 10, 2024

why configuration "desc_prefix" for openimages dataset in ppt1_sd15.yaml is true but change to false in ppt2_bn.yaml ?

@zengyh1900
Copy link
Collaborator

Hi @viviban,

Since in v1, there is a U-Net finetuned model where there is only one U-Net, we concatenate the task prompt and image prompt together for training. However, in v2, there is a U-Net and a BrushNet. The U-Net in v2 takes the description as input, while the BrushNet takes only task prompts as input.

Therefore, we set desc_prefix to true to concatenate the task and description prompts in v1, while setting it to false in v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants