-
Notifications
You must be signed in to change notification settings - Fork 979
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
error when generate tfrecord #41
Comments
check spaces in the input/output path, it's telling you that the path doesn't exist. |
@thriskel Thank u for your remind. |
D:\Mainproject\models-master\research\object_detection>python generate_tfrecord.py can someone tell where and what has to be changed ? |
same error as @BraveGump |
I ran into the same issue and resolved it by:
|
(tfgpu) D:\models\research\object_detection>python generate_TFR.py --csv_input=d How can I fix it? |
em,it's my problem...I have fix it. |
How did you solve it?Thank you!(请问你是怎样解决的,谢谢!) |
Thank you pc2005. I had the same issue and your instructions helped me. |
try to run using command line : python generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=train.record --image_dir=./images |
For windows you need to run this code in Research folder |
vinay@vinay-Lenovo-G50-70:~/models/research/object_detection$ python generate_tfrecord.py --csv_input=image/train_labels.csv --image_dir=image/train --output_path=train.record W0812 19:07:55.103269 140015557965632 deprecation_wrapper.py:119] From generate_tfrecord.py:92: The name tf.python_io.TFRecordWriter is deprecated. Please use tf.io.TFRecordWriter instead. W0812 19:07:55.232243 140015557965632 deprecation_wrapper.py:119] From generate_tfrecord.py:51: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead. Traceback (most recent call last): i am getting this error while executing tf_record.py |
same error @vinayslone1995 did you get it rectified?? |
C:\Mayur\Facemask>python generate_tfrecord.py [-x images] [-l annotations] [-o records] [-i images] [-c data] |
I am trying to read a tfrecord file and get this error NewRandomAccessFile failed to Create/Open: 'path to file'<TFRecordDatasetV2 shapes: (), types: tf.string> : The filename, directory name, or volume label syntax is incorrect. The path to the tfrecord file seems to be correct, can anyone help? |
when I run generate_tfrecord. I met the problem below:
Traceback (most recent call last):
File "generate_tfrecord.py", line 99, in
tf.app.run()
File "D:\python\lib\site-packages\tensorflow\python\platform\app.py", line 124, in run
_sys.exit(main(argv))
File "generate_tfrecord.py", line 85, in main
writer = tf.python_io.TFRecordWriter(FLAGS.output_path)
File "D:\python\lib\site-packages\tensorflow\python\lib\io\tf_record.py", line 106, in init
compat.as_bytes(path), compat.as_bytes(compression_type), status)
File "D:\python\lib\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: Failed to create a NewWriteableFile: : The system cannot find the path specified.
; No such process
how can i fix it?
The text was updated successfully, but these errors were encountered: