microsoft / CNTK

Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit
https://docs.microsoft.com/cognitive-toolkit/
Other
17.52k stars 4.28k forks source link

Required key 'version' is not found in the dict, when restore from checkpoint #2969

Open egg-west opened 6 years ago

egg-west commented 6 years ago

I would like to restore from the checkpoint but it shows this runtime error: "train_pm.py" line 194 trainer.train_minibatch(data) "cntk_py.py", line 2862 return _cntk_py.Trainer_restore_from_chekpoint(self, filePath) RuntimeError: Required key 'version' is not found in the dictionary

I was running nikosk/bidaf branch

ke1337 commented 6 years ago

Did you generate the checkpoint in a different release than restore? Checkpoints are considered ephemeral, and not backward compatible between versions.