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

finetuning problem with evfsam2 #26

Open
vvvvvjdy opened this issue Sep 23, 2024 · 1 comment
Open

finetuning problem with evfsam2 #26

vvvvvjdy opened this issue Sep 23, 2024 · 1 comment

Comments

@vvvvvjdy
Copy link

Nice work of extending sams ability to text guidied!
We have used your evfsam1 as our baseline to a new area and showd a signifcant performance. However, when we finetuned your evfsam2, it was easy to overfiiting(didnt see in evfsam1).
Did you met the same prob when your fintune sam2 ? or some hyperpramters different from sam1?
Hope to recieve your suggestion!

@CoderZhangYx
Copy link
Collaborator

CoderZhangYx commented Sep 23, 2024

The main differences between sam1 and sam2 lie in:

  1. pre-process: sam2 uses resize(1024), while sam1 uses resizelongest(1024) + padding.
  2. sam2 uses hierachical image encoder and sam1 uses ViT
  3. sam2 applies skip-connection to mask decoder.

Might these differences affect your training?

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