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

需要冻结Image Encoder的参数吗,我看代码里是全量微调? #142

Open
LaFeuilleMorte opened this issue Mar 10, 2025 · 3 comments

Comments

@LaFeuilleMorte
Copy link

No description provided.

@snakeztc
Copy link
Contributor

currently we tune the entire model, and it also works.

@LaFeuilleMorte
Copy link
Author

currently we tune the entire model, and it also works.

Thank you for your reply. Is there any difference between full-tuning and freeze the image encoder. Which option would be better for downstream tasks (visual grounding, classification, detection)?

@SZhanZ
Copy link
Contributor

SZhanZ commented Mar 12, 2025

Hello, you could set freeze_vision_modules as true to freeze the image encoder. In our preliminary experiment, compared with full-finetuning, freezing image encoder seems to be a little better on OOD dataset while comparable on in-domain dataset.

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