Models: tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory

Created on 11 Apr 2018  路  6Comments  路  Source: tensorflow/models

Please go to Stack Overflow for help and support:

http://stackoverflow.com/questions/tagged/tensorflow

Also, please understand that many of the models included in this repository are experimental and research-style code. If you open a GitHub issue, here is our policy:

  1. It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
  2. The form below must be filled out.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.


System information

  • What is the top-level directory of the model you are using:
    /media/habeshageeks/DATA/auto_proj/lisa
  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
    No
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    Linux Ubuntu 16.04
  • TensorFlow installed from (source or binary): binary
  • TensorFlow version (use command below): v1.7.0-3-g024aecf414 1.7.0
  • Bazel version (if compiling from source): N/A
  • CUDA/cuDNN version: Cuda 9.1 & Cudnn 7.1
  • GPU model and memory: GTX1060 8 GB
  • Exact command to reproduce: python object_detection/train.py --logtostderr --pipeline lisa/lisa/experiments/training/faster_rcnn_lisa.config --train_dir lisa/lisa/experiments/training

You can collect some of this information using our environment capture script:

https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh

You can obtain the TensorFlow version with

python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

Describe the problem

When I run python object_detection/train.py --logtostderr --pipeline lisa/lisa/experiments/training/faster_rcnn_lisa.config --train_dir lisa/lisa/experiments/training It shows me an error with Traceback (most recent call last): File "object_detection/train.py", line 167, in <module> tf.app.run() File "/home/habeshageeks/.virtualenvs/ml/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 126, in run _sys.exit(main(argv)) File "object_detection/train.py", line 107, in main overwrite=True) File "/home/habeshageeks/.virtualenvs/ml/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 392, in copy compat.as_bytes(oldpath), compat.as_bytes(newpath), overwrite, status) File "/home/habeshageeks/.virtualenvs/ml/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 516, in __exit__ c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory
The Path Lisa is Sim Linked with the Research Directory

Source code / logs

python object_detection/train.py --logtostderr --pipeline lisa/lisa/experiments/training/faster_rcnn_lisa.config --train_dir lisa/lisa/experiments/training WARNING:tensorflow:From /home/habeshageeks/.virtualenvs/ml/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version. Instructions for updating: Use the retry module or similar alternatives. Traceback (most recent call last): File "object_detection/train.py", line 167, in <module> tf.app.run() File "/home/habeshageeks/.virtualenvs/ml/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 126, in run _sys.exit(main(argv)) File "object_detection/train.py", line 107, in main overwrite=True) File "/home/habeshageeks/.virtualenvs/ml/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 392, in copy compat.as_bytes(oldpath), compat.as_bytes(newpath), overwrite, status) File "/home/habeshageeks/.virtualenvs/ml/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 516, in __exit__ c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory

awaiting response

Most helpful comment

I encounter the same error and the problem was that I had a typo in "--pipeline_config_path".

All 6 comments

@qlzh727 Can You figure out this Error?

Sorry for the late reply.

From the error log, mostly likely it is failed to find your local file during copy (symlink might cause the issue). Since I don't have access to your local directory, I cannot reproduce it. Another alternative to try is specify the absolute path instead of relative path in the commandline arg.

Thank You for your Reply Indeed I tried using absolute path my directories are in my external HDD, /media/habeshageeks/DATA/auto_proj/lisa/lisa/experiments/training but still same error

From your command line arg, it seems that you are using "--pipeline", which I don't think is correct. The valid value is "--pipeline_config_path"

Assume the last comment help you fix the issue, closing for now.

I encounter the same error and the problem was that I had a typo in "--pipeline_config_path".

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nmfisher picture nmfisher  路  3Comments

rakashi picture rakashi  路  3Comments

25b3nk picture 25b3nk  路  3Comments

kamal4493 picture kamal4493  路  3Comments

dsindex picture dsindex  路  3Comments