You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I faced an error while running the demo in creating the model cell model = HumanAttnTransformer(..
self.backbone.load_state_dict(bb_weights_new) in model.py gives this error
Error(s) in loading state_dict for ResNet:
Hello,
I faced an error while running the demo in creating the model cell model = HumanAttnTransformer(..
self.backbone.load_state_dict(bb_weights_new) in model.py gives this error
Error(s) in loading state_dict for ResNet:
Missing key(s) in state_dict: "res2.0.shortcut.weight", "res2.0.shortcut.norm.weight", "res2.0.shortcut.norm.bias", "res2.0.conv1.weight", "res2.0.conv1.norm.weight", "res2.0.conv1.norm.bias", "res2.0.conv2.weight", "res2.0.conv2.norm.weight", "res2.0.conv2.norm.bias", "res2.0.conv3.weight", "res2.0.conv3.norm.weight", "res2.0.conv3.norm.bias", "res2.1.conv1.weight", "res2.1.conv1.norm.weight", "res2.1.conv1.norm.bias", "res2.1.conv2.weight", "res2.1.conv2.norm.weight", "res2.1.conv2.norm.bias", "res2.1.conv3.weight", "res2.1.conv3.norm.weight", "res2.1.conv3.norm.bias", "res2.2.conv1.weight", "res2.2.conv1.norm.weight", "res2.2.conv1.norm.bias", "res2.2.conv2.weight", "res2.2.conv2.norm.weight", "res2.2.conv2.norm.bias", "res2.2.conv3.weight", "res2.2.conv3.norm.weight", "res2.2.conv3.norm.bias", "res3.0.shortcut.weight", "res3.0.shortcut.norm.weight", "res3.0.shortcut.norm.bias", "res3.0.conv1.weight", "res3.0.conv1.norm.weight", "res3.0.conv1.norm.bias", "res3.0.conv2.weight", "res3.0.conv2.norm.weight", "res3.0.conv2.norm.bias", "res3.0.conv3.weight", "res3.0.conv3.norm.weight", "res3.0.conv3.norm.bias", "res3.1.conv1.weight", "res3.1.conv1.norm.weight", "res3.1.conv1.norm.bias", "res3.1.conv2.weight", "res3.1.conv2.norm.weight", "res3.1.conv2.norm.bias", "res3.1.conv3.weight", "res3.1.conv3.norm.weight", "res3.1.conv3.norm.bias", "res3.2.conv1.weight", "res3.2.conv1.norm.weight", "res3.2.conv1.norm.bias", "res3.2.conv2.weight", "res3.2.conv2.norm.weight", "res3.2.conv2.norm.bias", "res3.2.conv3.weight", "res3.2.conv3.norm.weight", "res3.2.conv3.norm.bias", "res3.3.conv1.weight", "res3.3.conv1.norm.weight", "res3.3.conv1.norm.bias", "res3.3.conv2.weight", "res3.3.conv2.norm.weight", "res3.3.conv2.norm.bias", "res3.3.conv3.weight", "res3.3.conv3.norm.weight", "res3.3.conv3.norm.bias", "res4.0.shortcut.weight", "res4.0.shortcut.norm.weight", "res4.0.shortcut.norm.bias", "res4.0.conv1.weight", "res4.0.conv1.norm.weight", "res4.0.conv1.norm.bias", "res4.0.conv2.weight", "res4.0.conv2.norm.weight", "res4.0.conv2.norm.bias", "res4.0.conv3.weight", "res4.0.conv3.norm.weight", "res4.0.conv3.norm.bias", "res4.1.conv1.weight", "res4.1.conv1.norm.weight", "res4.1.conv1.norm.bias", "res4.1.conv2.weight", "res4.1.conv2.norm.weight", "res4.1.conv2.norm.bias", "res4.1.conv3.weight", "res4.1.conv3.norm.weight", "res4.1.conv3.norm.bias", "res4.2.conv1.weight", "res4.2.conv1.norm.weight", "res4.2.conv1.norm.bias", "res4.2.conv2.weight", "res4.2.conv2.norm.weight", "res4.2.conv2.norm.bias", "res4.2.conv3.weight", "res4.2.conv3.norm.weight", "res4.2.conv3.norm.bias", "res4.3.conv1.weight", "res4.3.conv1.norm.weight", "res4.3.conv1.norm.bias", "res4.3.conv2.weight", "res4.3.conv2.norm.weight", "res4.3.conv2.norm.bias", "res4.3.conv3.weight", "res4.3.conv3.norm.weight", "res4.3.conv3.norm.bias", "res4.4.conv1.weight", "res4.4.conv1.norm.weight", "res4.4.conv1.norm.bias", "res4.4.conv2.weight", "res4.4.conv2.norm.weight", "res4.4.conv2.norm.bias", "res4.4.conv3.weight", "res4.4.conv3.norm.weight", "res4.4.conv3.norm.bias", "res4.5.conv1.weight", "res4.5.conv1.norm.weight", "res4.5.conv1.norm.bias", "res4.5.conv2.weight", "res4.5.conv2.norm.weight", "res4.5.conv2.norm.bias", "res4.5.conv3.weight", "res4.5.conv3.norm.weight", "res4.5.conv3.norm.bias", "res5.0.shortcut.weight", "res5.0.shortcut.norm.weight", "res5.0.shortcut.norm.bias", "res5.0.conv1.weight", "res5.0.conv1.norm.weight", "res5.0.conv1.norm.bias", "res5.0.conv2.weight", "res5.0.conv2.norm.weight", "res5.0.conv2.norm.bias", "res5.0.conv3.weight", "res5.0.conv3.norm.weight", "res5.0.conv3.norm.bias", "res5.1.conv1.weight", "res5.1.conv1.norm.weight", "res5.1.conv1.norm.bias", "res5.1.conv2.weight", "res5.1.conv2.norm.weight", "res5.1.conv2.norm.bias", "res5.1.conv3.weight", "res5.1.conv3.norm.weight", "res5.1.conv3.norm.bias", "res5.2.conv1.weight", "res5.2.conv1.norm.weight", "res5.2.conv1.norm.bias", "res5.2.conv2.weight", "res5.2.conv2.norm.weight", "res5.2.conv2.norm.bias", "res5.2.conv3.weight", "res5.2.conv3.norm.weight", "res5.2.conv3.norm.bias".
Unexpected key(s) in state_dict: "stages.res2.0.shortcut.weight", "stages.res2.0.shortcut.norm.weight", "stages.res2.0.shortcut.norm.bias", "stages.res2.0.shortcut.norm.running_mean", "stages.res2.0.shortcut.norm.running_var", "stages.res2.0.conv1.weight", "stages.res2.0.conv1.norm.weight", "stages.res2.0.conv1.norm.bias", "stages.res2.0.conv1.norm.running_mean", "stages.res2.0.conv1.norm.running_var", "stages.res2.0.conv2.weight", "stages.res2.0.conv2.norm.weight", "stages.res2.0.conv2.norm.bias", "stages.res2.0.conv2.norm.running_mean", "stages.res2.0.conv2.norm.running_var", "stages.res2.0.conv3.weight", "stages.res2.0.conv3.norm.weight", "stages.res2.0.conv3.norm.bias", "stages.res2.0.conv3.norm.running_mean", "stages.res2.0.conv3.norm.running_var", "stages.res2.1.conv1.weight", "stages.res2.1.conv1.norm.weight", "stages.res2.1.conv1.norm.bias", "stages.res2.1.conv1.norm.running_mean", "stages.res2.1.conv1.norm.running_var", "stages.res2.1.conv2.weight", "stages.res2.1.conv2.norm.weight", "stages.res2.1.conv2.norm.bias", "stages.res2.1.conv2.norm.running_mean", "stages.res2.1.conv2.norm.running_var", "stages.res2.1.conv3.weight", "stages.res2.1.conv3.norm.weight", "stages.res2.1.conv3.norm.bias", "stages.res2.1.conv3.norm.running_mean", "stages.res2.1.conv3.norm.running_var", "stages.res2.2.conv1.weight", "stages.res2.2.conv1.norm.weight", "stages.res2.2.conv1.norm.bias", "stages.res2.2.conv1.norm.running_mean", "stages.res2.2.conv1.norm.running_var", "stages.res2.2.conv2.weight", "stages.res2.2.conv2.norm.weight", "stages.res2.2.conv2.norm.bias", "stages.res2.2.conv2.norm.running_mean", "stages.res2.2.conv2.norm.running_var", "stages.res2.2.conv3.weight", "stages.res2.2.conv3.norm.weight", "stages.res2.2.conv3.norm.bias", "stages.res2.2.conv3.norm.running_mean", "stages.res2.2.conv3.norm.running_var", "stages.res3.0.shortcut.weight", "stages.res3.0.shortcut.norm.weight", "stages.res3.0.shortcut.norm.bias", "stages.res3.0.shortcut.norm.running_mean", "stages.res3.0.shortcut.norm.running_var", "stages.res3.0.conv1.weight", "stages.res3.0.conv1.norm.weight", "stages.res3.0.conv1.norm.bias", "stages.res3.0.conv1.norm.running_mean", "stages.res3.0.conv1.norm.running_var", "stages.res3.0.conv2.weight", "stages.res3.0.conv2.norm.weight", "stages.res3.0.conv2.norm.bias", "stages.res3.0.conv2.norm.running_mean", "stages.res3.0.conv2.norm.running_var", "stages.res3.0.conv3.weight", "stages.res3.0.conv3.norm.weight", "stages.res3.0.conv3.norm.bias", "stages.res3.0.conv3.norm.running_mean", "stages.res3.0.conv3.norm.running_var", "stages.res3.1.conv1.weight", "stages.res3.1.conv1.norm.weight", "stages.res3.1.conv1.norm.bias", "stages.res3.1.conv1.norm.running_mean", "stages.res3.1.conv1.norm.running_var", "stages.res3.1.conv2.weight", "stages.res3.1.conv2.norm.weight", "stages.res3.1.conv2.norm.bias", "stages.res3.1.conv2.norm.running_mean", "stages.res3.1.conv2.norm.running_var", "stages.res3.1.conv3.weight", "stages.res3.1.conv3.norm.weight", "stages.res3.1.conv3.norm.bias", "stages.res3.1.conv3.norm.running_mean", "stages.res3.1.conv3.norm.running_var", "stages.res3.2.conv1.weight", "stages.res3.2.conv1.norm.weight", "stages.res3.2.conv1.norm.bias", "stages.res3.2.conv1.norm.running_mean", "stages.res3.2.conv1.norm.running_var", "stages.res3.2.conv2.weight", "stages.res3.2.conv2.norm.weight", "stages.res3.2.conv2.norm.bias", "stages.res3.2.conv2.norm.running_mean", "stages.res3.2.conv2.norm.running_var", "stages.res3.2.conv3.weight", "stages.res3.2.conv3.norm.weight", "stages.res3.2.conv3.norm.bias", "stages.res3.2.conv3.norm.running_mean", "stages.res3.2.conv3.norm.running_var", "stages.res3.3.conv1.weight", "stages.res3.3.conv1.norm.weight", "stages.res3.3.conv1.norm.bias", "stages.res3.3.conv1.norm.running_mean", "stages.res3.3.conv1.norm.running_var", "stages.res3.3.conv2.weight", "stages.res3.3.conv2.norm.weight", "stages.res3.3.conv2.norm.bias", "stages.res3.3.conv2.norm.running_mean", "stages.res3.3.conv2.norm.running_var", "stages.res3.3.conv3.weight", "stages.res3.3.conv3.norm.weight", "stages.res3.3.conv3.norm.bias", "stages.res3.3.conv3.norm.running_mean", "stages.res3.3.conv3.norm.running_var", "stages.res4.0.shortcut.weight", "stages.res4.0.shortcut.norm.weight", "stages.res4.0.shortcut.norm.bias", "stages.res4.0.shortcut.norm.running_mean", "stages.res4.0.shortcut.norm.running_var", "stages.res4.0.conv1.weight", "stages.res4.0.conv1.norm.weight", "stages.res4.0.conv1.norm.bias", "stages.res4.0.conv1.norm.running_mean", "stages.res4.0.conv1.norm.running_var", "stages.res4.0.conv2.weight", "stages.res4.0.conv2.norm.weight", "stages.res4.0.conv2.norm.bias", "stages.res4.0.conv2.norm.running_mean", "stages.res4.0.conv2.norm.running_var", "stages.res4.0.conv3.weight", "stages.res4.0.conv3.norm.weight", "stages.res4.0.conv3.norm.bias", "stages.res4.0.conv3.norm.running_mean", "stages.res4.0.conv3.norm.running_var", "stages.res4.1.conv1.weight", "stages.res4.1.conv1.norm.weight", "stages.res4.1.conv1.norm.bias", "stages.res4.1.conv1.norm.running_mean", "stages.res4.1.conv1.norm.running_var", "stages.res4.1.conv2.weight", "stages.res4.1.conv2.norm.weight", "stages.res4.1.conv2.norm.bias", "stages.res4.1.conv2.norm.running_mean", "stages.res4.1.conv2.norm.running_var", "stages.res4.1.conv3.weight", "stages.res4.1.conv3.norm.weight", "stages.res4.1.conv3.norm.bias", "stages.res4.1.conv3.norm.running_mean", "stages.res4.1.conv3.norm.running_var", "stages.res4.2.conv1.weight", "stages.res4.2.conv1.norm.weight", "stages.res4.2.conv1.norm.bias", "stages.res4.2.conv1.norm.running_mean", "stages.res4.2.conv1.norm.running_var", "stages.res4.2.conv2.weight", "stages.res4.2.conv2.norm.weight", "stages.res4.2.conv2.norm.bias", "stages.res4.2.conv2.norm.running_mean", "stages.res4.2.conv2.norm.running_var", "stages.res4.2.conv3.weight", "stages.res4.2.conv3.norm.weight", "stages.res4.2.conv3.norm.bias", "stages.res4.2.conv3.norm.running_mean", "stages.res4.2.conv3.norm.running_var", "stages.res4.3.conv1.weight", "stages.res4.3.conv1.norm.weight", "stages.res4.3.conv1.norm.bias", "stages.res4.3.conv1.norm.running_mean", "stages.res4.3.conv1.norm.running_var", "stages.res4.3.conv2.weight", "stages.res4.3.conv2.norm.weight", "stages.res4.3.conv2.norm.bias", "stages.res4.3.conv2.norm.running_mean", "stages.res4.3.conv2.norm.running_var", "stages.res4.3.conv3.weight", "stages.res4.3.conv3.norm.weight", "stages.res4.3.conv3.norm.bias", "stages.res4.3.conv3.norm.running_mean", "stages.res4.3.conv3.norm.running_var", "stages.res4.4.conv1.weight", "stages.res4.4.conv1.norm.weight", "stages.res4.4.conv1.norm.bias", "stages.res4.4.conv1.norm.running_mean", "stages.res4.4.conv1.norm.running_var", "stages.res4.4.conv2.weight", "stages.res4.4.conv2.norm.weight", "stages.res4.4.conv2.norm.bias", "stages.res4.4.conv2.norm.running_mean", "stages.res4.4.conv2.norm.running_var", "stages.res4.4.conv3.weight", "stages.res4.4.conv3.norm.weight", "stages.res4.4.conv3.norm.bias", "stages.res4.4.conv3.norm.running_mean", "stages.res4.4.conv3.norm.running_var", "stages.res4.5.conv1.weight", "stages.res4.5.conv1.norm.weight", "stages.res4.5.conv1.norm.bias", "stages.res4.5.conv1.norm.running_mean", "stages.res4.5.conv1.norm.running_var", "stages.res4.5.conv2.weight", "stages.res4.5.conv2.norm.weight", "stages.res4.5.conv2.norm.bias", "stages.res4.5.conv2.norm.running_mean", "stages.res4.5.conv2.norm.running_var", "stages.res4.5.conv3.weight", "stages.res4.5.conv3.norm.weight", "stages.res4.5.conv3.norm.bias", "stages.res4.5.conv3.norm.running_mean", "stages.res4.5.conv3.norm.running_var", "stages.res5.0.shortcut.weight", "stages.res5.0.shortcut.norm.weight", "stages.res5.0.shortcut.norm.bias", "stages.res5.0.shortcut.norm.running_mean", "stages.res5.0.shortcut.norm.running_var", "stages.res5.0.conv1.weight", "stages.res5.0.conv1.norm.weight", "stages.res5.0.conv1.norm.bias", "stages.res5.0.conv1.norm.running_mean", "stages.res5.0.conv1.norm.running_var", "stages.res5.0.conv2.weight", "stages.res5.0.conv2.norm.weight", "stages.res5.0.conv2.norm.bias", "stages.res5.0.conv2.norm.running_mean", "stages.res5.0.conv2.norm.running_var", "stages.res5.0.conv3.weight", "stages.res5.0.conv3.norm.weight", "stages.res5.0.conv3.norm.bias", "stages.res5.0.conv3.norm.running_mean", "stages.res5.0.conv3.norm.running_var", "stages.res5.1.conv1.weight", "stages.res5.1.conv1.norm.weight", "stages.res5.1.conv1.norm.bias", "stages.res5.1.conv1.norm.running_mean", "stages.res5.1.conv1.norm.running_var", "stages.res5.1.conv2.weight", "stages.res5.1.conv2.norm.weight", "stages.res5.1.conv2.norm.bias", "stages.res5.1.conv2.norm.running_mean", "stages.res5.1.conv2.norm.running_var", "stages.res5.1.conv3.weight", "stages.res5.1.conv3.norm.weight", "stages.res5.1.conv3.norm.bias", "stages.res5.1.conv3.norm.running_mean", "stages.res5.1.conv3.norm.running_var", "stages.res5.2.conv1.weight", "stages.res5.2.conv1.norm.weight", "stages.res5.2.conv1.norm.bias", "stages.res5.2.conv1.norm.running_mean", "stages.res5.2.conv1.norm.running_var", "stages.res5.2.conv2.weight", "stages.res5.2.conv2.norm.weight", "stages.res5.2.conv2.norm.bias", "stages.res5.2.conv2.norm.running_mean", "stages.res5.2.conv2.norm.running_var", "stages.res5.2.conv3.weight", "stages.res5.2.conv3.norm.weight", "stages.res5.2.conv3.norm.bias", "stages.res5.2.conv3.norm.running_mean", "stages.res5.2.conv3.norm.running_var".
I haven't changed the configuration file, and I have downloaded the pertained weights.
The text was updated successfully, but these errors were encountered: