Model loading error

I get this error when I try to load the model the model is getting saved, when I try to load it it’s throwing a error.
The syntax which I used is the one below:

model_scratch.load_state_dict(torch.load('saved_models/model_scratch.pt'))

and the error which I got is this

IncompatibleKeys(missing_keys=[], unexpected_keys=[])

This message just states, that no incompatible keys were found, so you are good to go.

Thanks @ptrblck I thought its was some error

@Rajamannar_Krishnamo dont tag or cross-post. if ptrblck has time he will reply, you dont need to flag it.

1 Like