I am training a model in the Cloud with Cloud ML from a Cloud Datalab notebook. I'd like to evaluate the model locally with.
%mlalpha train
package_uris: $package_path_local
python_module: trainer.task
args:
eval_data_paths : ...# local or gs://
I all cases (local or remote I get the following error:
Restore called with invalid save path: u'[path to checkpoint file]'. File path is: u'[path to checkpoint file]'
However evaluating on the cloud works fine. Tensorflow version in latest Cloud Datalab is 0.11rc0
Possible problems:
your training model graph and evaluation model graph are different. Check to make sure you are using the same model.
You trained a model, then changed the model, and tried to train or evaluate again. You may need to delete the checkpoint directory so that things start afresh.