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: ; No such file or directory #3954

Closed
isrugeek opened this issue Apr 11, 2018 · 6 comments
Assignees
Labels
stat:awaiting response Waiting on input from the contributor

Comments

@isrugeek
Copy link

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

@isrugeek
Copy link
Author

@qlzh727 Can You figure out this Error?

@qlzh727
Copy link
Member

qlzh727 commented Apr 13, 2018

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.

@qlzh727 qlzh727 added the stat:awaiting response Waiting on input from the contributor label Apr 13, 2018
@isrugeek
Copy link
Author

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

@tensorflowbutler tensorflowbutler removed the stat:awaiting response Waiting on input from the contributor label Apr 14, 2018
@qlzh727
Copy link
Member

qlzh727 commented Apr 16, 2018

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"

@qlzh727 qlzh727 added the stat:awaiting response Waiting on input from the contributor label Apr 18, 2018
@qlzh727
Copy link
Member

qlzh727 commented Apr 26, 2018

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

@ArefAz
Copy link

ArefAz commented May 16, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response Waiting on input from the contributor
Projects
None yet
Development

No branches or pull requests

4 participants