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

VCR Visual Feature data cannot open: lmdb.InvalidError: ./VCR_gt_resnet101_faster_rcnn_genome.lmdb: MDB_INVALID: File is not an LMDB file #75

Open
GoGoJoestar opened this issue Nov 11, 2022 · 0 comments

Comments

@GoGoJoestar
Copy link

I am working on VCR task and need to use the visual extracted feature. I download the lmdb data for VCR from the dropbox: VCR_gt_resnet101_faster_rcnn_genome.lmdb and VCR_resnet101_faster_rcnn_genome.lmdb and other files. But when I open them with lmdb.open(), I got the error: lmdb.InvalidError: ./VCR_gt_resnet101_faster_rcnn_genome.lmdb: MDB_INVALID: File is not an LMDB file.

Could anyone help? Did the data file I downloaded is broken? or any other reason?

Here is the code I use to open the lmdb file:

path = "./VCR_gt_resnet101_faster_rcnn_genome.lmdb"
env = lmdb.open(path, map_size=int(1e13), max_readers=1, readonly=True, lock=False, readahead=False, meminit=False)

and here is my dir structure:
屏幕截图(23)

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