Skip to content

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

@GoGoJoestar

Description

@GoGoJoestar

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions