-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I have trained my model with 91% accuracy and saved in the save folder, but when I ran the command
$ python webcam.py --resume save/model_best.pth.tar,
the terminal return an error:
RuntimeError: Error(s) in loading state_dict for DataParallel: Unexpected key(s) in state_dict: "module.att.ChannelGate.mlp.0.weight", "module.att.ChannelGate.mlp.0.bias", "module.att.ChannelGate.mlp.2.weight", "module.att.ChannelGate.mlp.2.bias", "module.att.SpatialGate.spatial.0.weight", "module.att.SpatialGate.spatial.0.bias".,
I was wondering if the error raise from the code itself for my model.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels