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

Issue with tf_record.py #105

Open
MatiasBoldrini opened this issue Nov 1, 2019 · 1 comment
Open

Issue with tf_record.py #105

MatiasBoldrini opened this issue Nov 1, 2019 · 1 comment

Comments

@MatiasBoldrini
Copy link

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??

@jarvis-owl
Copy link

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

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

2 participants