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

Fix feature stats generation when examples contain encoded images #184

Merged
merged 3 commits into from
May 14, 2019

Conversation

jameswex
Copy link
Collaborator

When examples contain encoded images inside of bytes_list features, the feature stats generation code fails, when using python 2.

Updated the code to correctly handle standard printable strings AND encoded image strings in bytes_list features, in both python 2 and python 3.

Tested and verified in a colab notebook on examples with both kinds of bytes_lists features, in both py2 and py3.

@jameswex jameswex requested a review from jimbojw May 14, 2019 14:56
@jimbojw jimbojw merged commit 5a42fe3 into master May 14, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants