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 pandas writer issue #687

Merged
merged 8 commits into from
Jun 22, 2022

Conversation

changhiskhan
Copy link
Contributor

The pandas writer uses ToDict but Image.to_dict converted the bytes to string. When this string is then read back, the Image constructor thinks that it is actually the uri.

It looks like I originally made it convert to string, but I couldn't remember why. i searched through usages of to_dict and I didn't find any instance that really required the result to be non-binary.

@changhiskhan changhiskhan force-pushed the changhiskhan/binary-serde branch from 10c8fda to f6ec758 Compare June 22, 2022 06:08
Copy link
Collaborator

@eddyxu eddyxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@changhiskhan changhiskhan merged commit 13f951f into eto-ai:main Jun 22, 2022
@changhiskhan changhiskhan deleted the changhiskhan/binary-serde branch June 22, 2022 23:22
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.

2 participants