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 · 2 comments
Open

Different configuration of "desc_prefix" for openimages dataset #83

viviban opened this issue Sep 10, 2024 · 2 comments

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.

@yeluoo
Copy link

yeluoo commented Nov 26, 2024

@zengyh1900 这里的prompt是整张图对应的caption,还是mask区域对应的caption,论文似乎说的是mask区域对应的反caption,那么问题来了,prompt不是训练t2i吗,那为什么是mask区域的caption呢

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

3 participants