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

Error in tf.python_io.TFRecordWriter #84

Open
rahulramesh3321 opened this issue Jan 30, 2019 · 2 comments
Open

Error in tf.python_io.TFRecordWriter #84

rahulramesh3321 opened this issue Jan 30, 2019 · 2 comments

Comments

@rahulramesh3321
Copy link

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 .

@pc2005
Copy link

pc2005 commented Mar 7, 2019

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

@patelalay231
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants