Missing keys & unexpected keys when loading model

Hi guys,
I’m having trouble with loading saved weights.
I just trained with local cpu, and i didn’t use any DataParallel.
When i see torch.load(‘./seq2seq.pth’), its in OrderedDict.

Please help me!!

This message might be a bit misleading, but no missing or unexpected keys were found, so your code works fine.
The output was changed to <All keys matched successfully> in PyTorch 1.2.0.

1 Like

I found it works fine.
Really appreciate with your help, ptrblck!
Have a good day:)

1 Like