raccoon_dataset icon indicating copy to clipboard operation
raccoon_dataset copied to clipboard

Issue with tf_record.py

Open MatiasBoldrini opened this issue 6 years ago • 1 comments

I got this error : File "generate_tfrecord.py", line 92 writer.write(tf_example.SerializeToString()) ^ IndentationError: unexpected indent ###The command i used :

python generate_tfrecord.py --csv_input=images/train_labels.csv --image_dir=images/train --output_path=train.record I don´t understand why , i havent edited the code , and the indentation is not bad , any idea??

MatiasBoldrini avatar Nov 01 '19 12:11 MatiasBoldrini

try to delete every linebreak, space or tab - basically type these two lines by hand. I had this several times with python.

jarvis-owl avatar Dec 24 '19 09:12 jarvis-owl