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

Arrow support for image_file and image-related bug-fixes #760

Merged
merged 4 commits into from
Jan 16, 2023

Conversation

jleibs
Copy link
Member

@jleibs jleibs commented Jan 13, 2023

Adds JPEG encoded data to the tensor storage and uses bridge to do arrow logging on the image_file path.

Will move this to pure python once @jondo2010 lands the SDK updates for logging images from python.

This finally makes the objectron demo work end-to-end:

image

This unsurfaced a bug where we start getting bad data once we split the bucket: #759, resulting in two additional upstream PRs:

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I've added a line to CHANGELOG.md (if this is a big enough change to warrant it)

@jleibs jleibs marked this pull request as ready for review January 13, 2023 20:45
@jleibs jleibs changed the title Jleibs/arrow image file Arrow support for image_file and image-related bug-fixes Jan 15, 2023
@jondo2010 jondo2010 self-requested a review January 16, 2023 09:51
Comment on lines +96 to +100
arrow2 = { workspace = true, features = [
"io_ipc",
"io_print",
"compute_concatenate",
] }
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably not needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's nice having the concatenation test in there given what a problem it caused for images.

Base automatically changed from jleibs/arrow_gate_cleanup to main January 16, 2023 10:10
@jleibs jleibs merged commit e9dfb3a into main Jan 16, 2023
@jleibs jleibs deleted the jleibs/arrow_image_file branch January 16, 2023 10:16
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