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

How to read LMDB with PNG images? #51

Open
joonjeon opened this issue Mar 8, 2018 · 0 comments
Open

How to read LMDB with PNG images? #51

joonjeon opened this issue Mar 8, 2018 · 0 comments

Comments

@joonjeon
Copy link

joonjeon commented Mar 8, 2018

I see that your custom-implemented AnnotatedData function creates layers that read, parse, and automatically store data from LMDB.
But nowhere throughout the whole Internet was I able to find how to implement the procedure for this.

Seems like there's an internal implementation with C++-backend, and I have tried everything in Python to get the same functionality,
but there is always a problem with reading PNG-encoded image part of LMDB.

google protobuf's ParseFromString always returns an error saying that it cannot parse strings with non-utf8 characters.
This means there's got to be something within your C++-implementation that can parse the LMDB niftly, but despite close inspection of your code, I have NO IDEA how this works.

Is there a way to tackle this?

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

1 participant