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

Missing Keys in State dict #5

Open
BhandarkarPawan opened this issue Mar 16, 2021 · 0 comments
Open

Missing Keys in State dict #5

BhandarkarPawan opened this issue Mar 16, 2021 · 0 comments

Comments

@BhandarkarPawan
Copy link

When I try to run
python tools/test_pic.py configs/pic_v2.0/htc_rel_dconv_c3-c5_mstrain_400_1400_x101_64x4d_fpn_20e_train_rel_dcn_semantichead.py pic_latest.pth --json_out det_result.json
I get the following output:

None
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!

The model and loaded state dict do not match exactly
missing keys in source state_dict: reldn_head.freq_bias.rel_baseline.weight, reldn_head.prd_cls_feats.0.weight, reldn_head.prd_cls_feats.0.bias, reldn_head.prd_cls_feats.2.weight, reldn_head.prd_cls_feats.2.bias, reldn_head.prd_cls_scores.0.weight, reldn_head.prd_cls_scores.0.bias, reldn_head.spt_cls_feats.0.weight, reldn_head.spt_cls_feats.0.bias, reldn_head.spt_cls_feats.2.weight, reldn_head.spt_cls_feats.2.bias, reldn_head.spt_cls_scores.0.weight, reldn_head.spt_cls_scores.0.bias, reldn_head.prd_sbj_scores.0.weight, reldn_head.prd_sbj_scores.0.bias, reldn_head.prd_sbj_scores.2.weight, reldn_head.prd_sbj_scores.2.bias, reldn_head.prd_obj_scores.0.weight, reldn_head.prd_obj_scores.0.bias, reldn_head.prd_obj_scores.2.weight, reldn_head.prd_obj_scores.2.bias, reldn_binary_head.vis_rank_feats.0.weight, reldn_binary_head.vis_rank_feats.0.bias, reldn_binary_head.vis_rank_feats.2.weight, reldn_binary_head.vis_rank_feats.2.bias, reldn_binary_head.spt_rank_feats.0.weight, reldn_binary_head.spt_rank_feats.0.bias, reldn_binary_head.spt_rank_feats.2.weight, reldn_binary_head.spt_rank_feats.2.bias, reldn_binary_head.proj.weight, reldn_binary_head.proj.bias, reldn_binary_head.readout.0.weight, reldn_binary_head.readout.0.bias

System:
Ubuntu 16.04
Cuda 9.2
Nvidia Driver 396.37

Please help!

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