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

Unexpected key(s) in state_dict: "feature_align.layers.0.weight", "feature_align.layers.0.bias", "feature_align.layers.1.weight", "feature_align.layers.1.bias", "patch2query.weight", "patch2query.bias". #29

Open
Zoeun opened this issue Nov 7, 2022 · 1 comment

Comments

@Zoeun
Copy link

Zoeun commented Nov 7, 2022

excuse me, I Fine-tuning in own dataset and evaluation

This is mine warning after evaluation in pycharm(win 10),pytorch==1.12.1,torchvision==0.13.1,cuda==11.7,3070ti

Unexpected key(s) in state_dict: "feature_align.layers.0.weight", "feature_align.layers.0.bias", "feature_align.layers.1.weight", "feature_align.layers.1.bias", "patch2query.weight", "patch2query.bias".

I dont know how to solve this problem.I tested the following methods
1.pop this weight and bias before the Fine-tuning,but the evaluation result is 0,yes ,all IOU is 0 .
2.pop pop this weight and bias after the Fine-tuning,all IOU is 0 .

Please give me some advice

@xiaoerlaigeid
Copy link

I have similar issues, have you solved that ?

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