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
Hi, I'm trying to use your code as a backbone and load the pre-training weights, but have found some issues.
I have not modified anything in efficientVMamba.py and the environment is configured correctly. I refer to your loading method in detection/test_ckpt.py and the code is as follows when I load it:
And to verify that it was loaded correctly, I changed just one line of code in Class Backbone_EfficientVSSM in efficientVMamba.py as follows:
# incompatibleKeys = self.load_state_dict(new_state_dict, strict=False) #your before
incompatibleKeys = self.load_state_dict(new_state_dict, strict=True) # changed by me
The similar problem occurs when loading the other two weights. May I ask if there is a mismatch between the currently uploaded weights and the model code? Or am I missing something? Looking forward to your reply, thanks!
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to use your code as a backbone and load the pre-training weights, but have found some issues.
I have not modified anything in efficientVMamba.py and the environment is configured correctly. I refer to your loading method in
detection/test_ckpt.py
and the code is as follows when I load it:And to verify that it was loaded correctly, I changed just one line of code in Class Backbone_EfficientVSSM in efficientVMamba.py as follows:
But I found the following error reported:
The similar problem occurs when loading the other two weights. May I ask if there is a mismatch between the currently uploaded weights and the model code? Or am I missing something? Looking forward to your reply, thanks!
The text was updated successfully, but these errors were encountered: