ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group

Hi,
I’m using OpenNMT-py 2.0 version. When I try to fine-tune my model. I get the below error. Any help appreciated

ValueError: loaded state dict contains a parameter group that doesn’t match the size of the optimizer’s group

Prashanth

You might want to give a bit more details here.
What kind of model are we talking about? How was it trained? With which command line?
What’s your finetuning command line?
Also please post the full error trace, not only the last line.