tensorflow-mnist-predict
tensorflow-mnist-predict copied to clipboard
Update path to model files when restoring to be relative
The prediction scripts fail for me with the following error:
NotFoundError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model.ckpt [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
Changing the path to the model.ckpt file from 'model.ckpt' to './model.ckpt' when restoring seems to be fixing the issue for me.