Closed ghost closed 5 years ago
Could you fill out the template?
It looks like it's looking for a path that doesn't exist. Could you try to find out what path it is?
this is the path sir : the path d\udc92acc\udce8s sp\udce9cifi\udce9 not found
Even I am getting a similar error using:
Traceback (most recent call last):
File "object_detection/train.py", line 163, in <module>
tf.app.run()
File "/home/vaishnav/cv/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "object_detection/train.py", line 106, in main
overwrite=True)
File "/home/vaishnav/cv/lib/python3.5/site-packages/tensorflow/python/lib/io/file_io.py", line 385, in copy
compat.as_bytes(oldpath), compat.as_bytes(newpath), overwrite, status)
File "/home/vaishnav/cv/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in __exit__
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory
Command ran:
python object_detection/train.py --logtostderr --pipepline_config_path=/home/vaishnav/facedetection/rfcn-resnet101/rfcn_resnet101_coco.config --train_dir=/home/vaishnav/facedetection/rfcn-resnet101/train
@Nassimbelmecheri @vaishnavm217 hi guys, did you find a solution. Please help me out here, i am stuck
Same error in windows . I'm stuck too
same error too. in Jetson TX2 ,don't know why
i just solved in my machine, it because space my error commandline is: python3 train.py \ --logtostderr \ --pipeline_config_path= /home/nvidia/liuhao/ObjectDetectTry/training/ssd_mobilenet_v1_pets.config \ --train_dir=/home/nvidia/liuhao/ObjectDetectTry/training
in this line have a space --pipeline_config_path= (space here should be remove )/home/nvidia/liuhao/ObjectDetectTry/training/ssd_mobilenet_v1_pets.config \
and the train_dir add training/ then it worked~ start training now
so the correct command like this: python3 train.py \ --logtostderr \ --pipeline_config_path=/home/nvidia/liuhao/ObjectDetectTry/training/ssd_mobilenet_v1_pets.config \ --train_dir=/home/nvidia/liuhao/ObjectDetectTry/training/
hi,did you find a solution? Please help me ,thank you
@vaishnavm217
Guys check all the paths even in the config and remove white spaces as mentioned by @gewenpulan please provide absolute path.
i can run training in my windows machine, but end of training, i got the this issue
File "C:\Program Files\Python\Python36\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 379, in recursive_create_dir pywrap_tensorflow.RecursivelyCreateDir(compat.as_bytes(dirname), status) File "C:\Program Files\Python\Python36\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 519, in exit c_api.TF_GetCode(self.status.status)) ensorflow.python.framework.errors_impl.NotFoundError: Failed to create a directory: D:/tensorflow/my_train/models/train\export\Servo\temp-b'153466596 '; No such file or directory
any suggestion for me //?
@gloomyfish1998 Hey, use Anaconda's package manager to install Tensorflow CPU version on windows. If you want to use the GPU version then install Ubuntu first, and then you can use the latest implementation of Tensorflow GPU version. The error you are getting I clearly because of a path error as you can see from the back and forward slash mixup in your path. I was stuck with Tensorflow and installing and setting it up on Windows was harder than learning Tensorflow π‘
in my experience Ubuntu+Anaconda+Tensorflow is the best combination, otherwise, you will be wasting a lot of time.
Good Luck!
@gewenpulan
i just solved in my machine, it because space my error commandline is: python3 train.py --logtostderr --pipeline_config_path= /home/nvidia/liuhao/ObjectDetectTry/training/ssd_mobilenet_v1_pets.config --train_dir=/home/nvidia/liuhao/ObjectDetectTry/training
in this line have a space --pipeline_config_path= (space here should be remove )/home/nvidia/liuhao/ObjectDetectTry/training/ssd_mobilenet_v1_pets.config \
and the train_dir add training/ then it worked~ start training now
so the correct command like this: python3 train.py --logtostderr --pipeline_config_path=/home/nvidia/liuhao/ObjectDetectTry/training/ssd_mobilenet_v1_pets.config --train_dir=/home/nvidia/liuhao/ObjectDetectTry/training/
Thanks for your help firstly. I think you are right, it's typing problem. I forgot to add ''--" before "pipeline_config_path", and it caused this error too. After I correct my command, it's work now.
File "export_inference_graph.py", line 150, in
Got this same message on Windows after 16 hours of training, this is not nice, will try the fix now
zubairahmed-ai@ thanku so much .. I got and fixed this issue. Issue is ssd_mobilenet_v1_pets.config file is not found at the designated folder. I just copy and paste this file and issue is resolved.
Which folder was it not found? @Bindu1408 My file is there along with my checkpoints in the same folder but why did I get this error? Also right now my training is unable to restart due to this error
INFO:tensorflow:Skipping training since max_steps has already saved. I1125 13:03:36.894908 12508 tf_logging.py:115] Skipping training since max_steps has already saved.
Problem fixed I had to create a export
within my model_dir and within the export
a servo
folder in order to get the final model saved
I provide relative paths to everything in my config and I had no space in my paths still I got this error until I did the above
Also this error INFO:tensorflow:Skipping training since max_steps has already saved. I1125 13:03:36.894908 12508 tf_logging.py:115] Skipping training since max_steps has already saved.
disappeared after I deleted checkpoint
file from the training folder
When running this command:
python -m retrain --how_many_training_steps=500 --output_graph=out.pb --output_labels=labels.txt --image_dir=lp --tfhub_module https://tfhub.dev/google/imagenet/mobilenet_v1_100_224/feature_vector/1
I get this error:
tensorflow.python.framework.errors_impl.NotFoundError: FindFirstFile failed for: C:/Users/Omen/Desktop/lp/license : Le chemin d\udc92acc\udce8s sp\udce9cifi\udce9 est introuvable. ; No such process
Hi @soufianesabiri, Did you find any solution for error ?
File "C:\Users\Mouhamed Hedi\New folder\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 528, in exit c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.NotFoundError: FindFirstFile failed for: C:/Users/Mouhamed Hedi/Desktop/models/researh/object_detection : The system cannot find the path specified. ; No such process Hi evrey one i got this error ! do any one know how to solve that ?
use full path --train_dir = /home/*/*/..... --pipeline_config_path=/jome/*/*/*.....
when i run
python3 generate_tfrecord.py --csv_input=data/test_labels.csv --output_path=test.record
βββ data
βΒ Β βββ test_labels.csv
βΒ Β βββ train_labels.csv
βββ generate_tfrecord.py
βββ images
βΒ Β βββ test
βΒ Β βββ train
βΒ Β
βββ test.record
βββ training
βββ xml_to_csv.py
File "/usr/lib/python3.6/contextlib.py", line 88, in exit next(self.gen) File "/usr/local/lib/python3.6/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: 12.jpg
I just spent 30 minutes with @katieh trying to understand why tf couldn't find a file just to find out that I forgot to remove a single space. womp
For me, it wasn't able to find the path because of a missing forward slash at the start of the path (was on a linux machine by the way)
python generate_tfrecord.py --csv_input=./images/annotations_labels.csv output_path=./train.record --images_dir=./images/
I'm getting this:
Traceback (most recent call last): File "generate_tfrecord.py", line 117, in
tf.app.run() File "/home/aref/.virtualenvs/tf/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "generate_tfrecord.py", line 102, in main writer = tf.python_io.TFRecordWriter(FLAGS.output_path) File "/home/aref/.virtualenvs/tf/lib/python3.6/site-packages/tensorflow/python/lib/io/tf_record.py", line 218, in init compat.as_bytes(path), options._as_record_writer_options(), status) File "/home/aref/.virtualenvs/tf/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory
I cannot fix it. Could anybody tell me how to fix it?
Bonjour vous avez pu trouver la solution pour ce problème tensorflow.python.framework.errors_impl.NotFoundError: NewRandomAccessFile failed to Create/Open: C: /tensorflow1/models1/research/object_detection/training/mscoco_label_map.pbtxt : Le chemin d\udc92acc\udce8s sp\udce9cifi\udce9 est introuvable. ; No such process
@MISSIVA20 Hi, can you show me the command you are using before getting the error? It's very likely that is due to a syntax error or maybe your paths are wrong (small typos). Double check them.
YES OF COURSE,thank you python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/ssd_mobilenet_v2_coco.config
Le jeu. 21 mai 2020 Γ 21:17, ArefAz notifications@github.com a Γ©crit :
@MISSIVA20 https://github.com/MISSIVA20 Hi, can you show me the command you are using before getting the error? It's very likely that is due to a syntax error or maybe your paths are wrong (small typos). Double check them.
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tensorflow/models/issues/2984#issuecomment-632293385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGYGJKXQFWGQKAASA7BWGDRSV42ZANCNFSM4EHSUMTQ .
my (ssd_mobilenet_v2_coco.txt ) train_input_reader: { tf_record_input_reader { input_path: "C: /tensorflow1/models1/research/object_detection/train.record" } label_map_path: "C: /tensorflow1/models1/research/object_detection/training/mscoco_label_map.pbtxt" }
eval_config: { num_examples: 800
max_evals: 10 }
eval_input_reader: { tf_record_input_reader { input_path: "C:/tensorflow1/models1/research/object_detection/test.record" } label_map_path: "C:/tensorflow1/models1/research/object_detection/training/mscoco_label_map.pbtxt" shuffle: false num_readers: 1