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

Update create_pascal_tf_record.py #3744

Merged
merged 2 commits into from
Apr 9, 2018
Merged

Conversation

liangxiao05
Copy link
Contributor

When creat a tf record using purely negative images which have no 'object' in their xmls ,the script gets a key error : for obj in data['object']: Key Error : 'object'
In order to fix this , add a 'if ' judegement before it .

when creat a tf record using purely negative images which have no 'object' in their xmls ,the script gets a key error : for obj in data['object']:  Key Error : 'object'
In order to fix this , add a 'if ' judegement before it .
@liangxiao05
Copy link
Contributor Author

please refer to this
#3578

@pkulzc pkulzc merged commit e3bfb9b into tensorflow:master Apr 9, 2018
@liangxiao05
Copy link
Contributor Author

@pkulzc
Copy link
Contributor

pkulzc commented Apr 10, 2018

Sure, we will fix that in the next release. Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants