I’m trying to load trained model weights and get this error message:
IncompatibleKeys(missing_keys=[], unexpected_keys=[])
I can’t figure out the issue because when I inspect model.state_dict().keys()
and state_dict.keys()
all of the keys are the same!
model.state_dict().keys() == state_dict.keys()
produces True
What else can be preventing me from loading weights into my model?
I’ve been scanning the internet but I can’t find someone with a similar error.
Appreciate the help in advance.