raccoon_dataset icon indicating copy to clipboard operation
raccoon_dataset copied to clipboard

Error in tf.python_io.TFRecordWriter

Open rahulramesh3321 opened this issue 6 years ago • 2 comments

Hi All,

While running the code writer = tf.python_io.TFRecordWriter(FLAGS.output_path) below are the errors occured :

writer = tf.python_io.TFRecordWriter(FLAGS.output_path) Traceback (most recent call last):

File "", line 1, in writer = tf.python_io.TFRecordWriter(FLAGS.output_path)

File "D:\anaconda\lib\site-packages\tensorflow\python\lib\io\tf_record.py", line 210, in init compat.as_bytes(path), options._as_record_writer_options(), status)

File "D:\anaconda\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 528, in exit c_api.TF_GetCode(self.status.status))

NotFoundError: Failed to create a NewWriteableFile: : The system cannot find the path specified. ; No such process

I believe this is respective to the location of my files. Below are the details of location of my files: 'C:/Users/1010141/Desktop/Object-Detection/Data/Train.csv' *CSV file is 'C:/Users/1010141/Desktop/Object-Detection/Image/Train *Images and excel file is kept C:\Users\1010141\Desktop\Object-Detection\ * My scripts is kept C:\Users\1010141\Desktop\model\models-master\research * Object_detection directory is kept D:\anaconda\pkgs\tensorflow-gpu-1.10.0-py36_0\Lib\site-packages\tensorflow * Tensorflow is kept.

Please help me .

rahulramesh3321 avatar Jan 30 '19 13:01 rahulramesh3321

Please check my solution in issue #41 and see if it helps.

pc2005 avatar Mar 07 '19 16:03 pc2005

python generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=data/train.record --image_dir=images/

patelalay231 avatar Nov 12 '20 05:11 patelalay231