Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensorflow.python.framework.errors_impl.NotFoundError in predict.py #11

Open
KanimozhiU opened this issue Aug 21, 2017 · 1 comment
Open

Comments

@KanimozhiU
Copy link

Traceback (most recent call last):
File "predict.py", line 73, in
predict_unseen_data()
File "predict.py", line 19, in predict_unseen_data
checkpoint_file = tf.train.latest_checkpoint(checkpoint_dir + 'checkpoints')
File "/home/kanimozhiu/.local/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1602, in latest_checkpoint
if file_io.get_matching_files(v2_path) or file_io.get_matching_files(
File "/home/kanimozhiu/.local/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 332, in get_matching_files
for single_filename in filename
File "/home/kanimozhiu/anaconda3/lib/python3.5/contextlib.py", line 66, in exit
next(self.gen)
File "/home/kanimozhiu/.local/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: /home/ubuntu/multi-class-text-classification-cnn/trained_model_1479757124/checkpoints

How to resolve this error?

@KanimozhiU KanimozhiU changed the title tensorflow.python.framework.errors_impl.NotFoundError: on predict.py tensorflow.python.framework.errors_impl.NotFoundError in predict.py Aug 21, 2017
@jiegzhan
Copy link
Owner

jiegzhan commented Nov 1, 2017

#13

After training, I was able to see the saved model files and run predict.py

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

No branches or pull requests

2 participants