Skip to content

Update path to model files when restoring to be relative#13

Open
charliegerard wants to merge 1 commit intoniektemme:masterfrom
charliegerard:master
Open

Update path to model files when restoring to be relative#13
charliegerard wants to merge 1 commit intoniektemme:masterfrom
charliegerard:master

Conversation

@charliegerard
Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant