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

_IncompatibleKeys #31

Open
xiaoerlaigeid opened this issue Dec 10, 2023 · 1 comment
Open

_IncompatibleKeys #31

xiaoerlaigeid opened this issue Dec 10, 2023 · 1 comment

Comments

@xiaoerlaigeid
Copy link

Hi, Thanks your works. I use my dataset pretrial on the you provided imagenet model. Then I use my pretreaind model to finetune on my dataset. The code return
_IncompatibleKeys(missing_keys=['class_embed.weight', 'class_embed.bias'], unexpected_keys=['patch2query.weight', 'patch2query.bias', 'feature_align.layers.0.weight', 'feature_align.layers.0.bias', 'feature_align.layers.1.weight', 'feature_align.layers.1.bias'])
Could you please offer some suggestion ? Is this normal or abnormal ? Thanks !

@xiaoerlaigeid
Copy link
Author

Another interesting thing I find, compared with the pre-train on the imagenet dataest, the finetined COCO model finetune my own dataset have a better performance. Have you tried this similar experiment before ?

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

1 participant