tensorflow: tensorflow.python.framework.errors_impl.NotFoundError: logs
NOTE: Only file GitHub issues for bugs and feature requests. All other topics will be closed.
For general support from the community, see StackOverflow. To make bugs and feature requests more easy to find and organize, we close issues that are deemed out of scope for GitHub Issues and point people to StackOverflow.
For bugs or installation issues, please provide the following information. The more information you provide, the more easily we will be able to offer help and advice.
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
None
Environment info
Operating System: Mac OS X El Capitan
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide: Used steps shown here with docker https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#3
- A link to the pip package you installed:
- The output from
python -c "import tensorflow; print(tensorflow.__version__)".
If installed from source, provide
- The commit hash (
git rev-parse HEAD) - The output of
bazel version
If possible, provide a minimal reproducible example (We usually don’t have time to read hundreds of lines of your code)
I am following all the steps in this tutorial https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#3 but I am getting the following error
`COMPUTER_NAME:tf_files USERNAME$ docker run -it -v $HOME/tf_files:/tf_files gcr.io/tensorflow/tensorflow:latest-devel root@e6a49799067c:~# cd /tensorflow/ root@e6a49799067c:/tensorflow# git pull remote: Counting objects: 1444, done. remote: Compressing objects: 100% (719/719), done. remote: Total 1444 (delta 693), reused 490 (delta 490), pack-reused 221 Receiving objects: 100% (1444/1444), 1.36 MiB | 469.00 KiB/s, done. Resolving deltas: 100% (753/753), completed with 239 local objects. From https://github.com/tensorflow/tensorflow
- [new branch] fix-dbpedia -> origin/fix-dbpedia 8308ecd…fa4ba83 master -> origin/master 9381242…1092f91 r1.0 -> origin/r1.0
- [new tag] 0.12.1 -> 0.12.1 Already up-to-date. root@e6a49799067c:/tensorflow# python tensorflow/examples/image_retraining/retrain.py \ –bottleneck_dir=/tf_files/bottlenecks \ –how_many_training_steps 500 \ –model_dir=/tf_files/inception \ –output_graph=/tf_files/retrained_graph.pb \ –output_labels=/tf_files/retrained_labels.txt \ –image_dir /tf_files/flower_photos
Downloading inception-2015-12-05.tgz 100.0% Successfully downloaded inception-2015-12-05.tgz 88931400 bytes. Looking for images in ‘.git’ No files found Looking for images in ‘logs’ Traceback (most recent call last): File “tensorflow/examples/image_retraining/retrain.py”, line 1012, in <module> tf.app.run(main=main, argv=[sys.argv[0]] + unparsed) File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py”, line 43, in run sys.exit(main(sys.argv[:1] + flags_passthrough)) File “tensorflow/examples/image_retraining/retrain.py”, line 757, in main FLAGS.validation_percentage) File “tensorflow/examples/image_retraining/retrain.py”, line 148, in create_image_lists file_list.extend(gfile.Glob(file_glob)) File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py”, line 269, in get_matching_files compat.as_bytes(filename), status)] File “/usr/lib/python2.7/contextlib.py”, line 24, in exit self.gen.next() File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors_impl.py”, line 469, in raise_exception_on_not_ok_status pywrap_tensorflow.TF_GetCode(status)) tensorflow.python.framework.errors_impl.NotFoundError: logs`
What other attempted solutions have you tried?
Tried install tensorflow 0.11 in docker but that didn’t help
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18
even I am facing same issue: File “object_detection/create_flower_tf_record.py”, line 216, in <module> tf.app.run() File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py”, line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File “object_detection/create_flower_tf_record.py”, line 195, in main examples_list = dataset_util.read_examples_list(examples_path) File “/home/rashmi/models/object_detection/utils/dataset_util.py”, line 59, in read_examples_list lines = fid.readlines() File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py”, line 181, in readlines self._preread_check() File “/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py”, line 78, in _preread_check compat.as_bytes(self.__name), 1024 * 512, status) File “/usr/lib/python2.7/contextlib.py”, line 24, in exit self.gen.next() File “/usr/local/lib/python2.7/dist-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: annotations/trainval.txt