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 change the input size as 224x224,and I get a message 'the model and loaded state dict do not match exactly',the code still works.However,I'm not sure if the mit_b4 pre-trained model has already loaded.Can you help me?And I want to know,have you ever done an experiment which input size as 224x224.If you have done the experiment,can you tell me the corresponding evaluation index ?Thank you very much!!
The text was updated successfully, but these errors were encountered:
I am also getting the following error, I didn't change the input size.
load checkpoint from local path: ./code/models/weights/mit_b4.pth
The model and loaded state dict do not match exactly
unexpected key in source state_dict: head.weight, head.bias
I am also getting the following error, I didn't change the input size.
load checkpoint from local path: ./code/models/weights/mit_b4.pth
The model and loaded state dict do not match exactly
unexpected key in source state_dict: head.weight, head.bias
Let me know how to resolve the this.
may be you should set the strict = False, like model.load_state_dict(torch.load(path),strict=False)
Hi,I change the input size as 224x224,and I get a message 'the model and loaded state dict do not match exactly',the code still works.However,I'm not sure if the mit_b4 pre-trained model has already loaded.Can you help me?And I want to know,have you ever done an experiment which input size as 224x224.If you have done the experiment,can you tell me the corresponding evaluation index ?Thank you very much!!
The text was updated successfully, but these errors were encountered: