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

为什么在训练过程中需要positive and negative visual prompt samples? #27

Open
dbcSep03 opened this issue Jun 27, 2024 · 1 comment

Comments

@dbcSep03
Copy link

如题,有点不太明白

@FengLi-ust
Copy link
Contributor

没有negative的话,模型只能检测正样本。比如图片里面没有狗,你输入狗的prompt,模型还是会预测出一个错误的mask,因为训练中所有prompt都会是positive,模型一定要输出mask才行。

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