win_det_heatmaps icon indicating copy to clipboard operation
win_det_heatmaps copied to clipboard

Errors in loading staring dict:

Open Oushesh opened this issue 2 years ago • 2 comments

RuntimeError: Error(s) in loading state_dict for PoseNet_2branch: Missing key(s) in state_dict: "backbone.conv1.weight", "backbone.bn1.weight", "backbone.bn1.bias", "backbone.bn1.running_mean", "backbone.bn1.running_var", "backbone.layer1.0.conv1.weight", "backbone.layer1.0.bn1.weight", "backbone.layer1.0.bn1.bias", "backbone.layer1.0.bn1.running_mean",

my command line was: python infer.py --cfg experiments/resnet/lr1e-3_x120-90-110_center_b2.yaml --model models/resnet18_model_latest.pth.tar --infer images So I am loading resnet18_model the configs from the .yaml file, and the model. Seems the definition or dictaionary does not contain those strings.

Oushesh avatar Jul 04 '22 11:07 Oushesh

it looks strange only part of backbone modules can't be loaded.

lck1201 avatar Jul 11 '22 12:07 lck1201

yep. you got the same problem?

Oushesh avatar Jul 14 '22 09:07 Oushesh