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

lmdb.CorruptedError: mdb_get: MDB_CORRUPTED: Located page was wrong type #59

Open
Tclz opened this issue Dec 19, 2020 · 1 comment
Open

Comments

@Tclz
Copy link

Tclz commented Dec 19, 2020

When i download the feature file data.mdb(58.7G) in VCR project, and run the eval_tasks.py, i meet the following errors.
Traceback (most recent call last):
File "eval_tasks.py", line 231, in
main()
File "eval_tasks.py", line 172, in main
= LoadDatasetEval(args, task_cfg, args.tasks.split('-'))
File "/home/vilbert_beta/vilbert/task_utils.py", line 283, in LoadDatasetEval
args.in_memory)
File "/home/vilbert_beta/vilbert/datasets/_image_features_reader.py", line 47, in init
self._image_ids = pickle.loads(txn.get('keys'.encode()))
lmdb.CorruptedError: mdb_get: MDB_CORRUPTED: Located page was wrong type

I don't know what's wrong with the .mdb files and please tell me how to fix it.
Thanks in advance!!

@HarveyGuo960817
Copy link

When i download the feature file data.mdb(58.7G) in VCR project, and run the eval_tasks.py, i meet the following errors.
Traceback (most recent call last):
File "eval_tasks.py", line 231, in
main()
File "eval_tasks.py", line 172, in main
= LoadDatasetEval(args, task_cfg, args.tasks.split('-'))
File "/home/vilbert_beta/vilbert/task_utils.py", line 283, in LoadDatasetEval
args.in_memory)
File "/home/vilbert_beta/vilbert/datasets/_image_features_reader.py", line 47, in init
self._image_ids = pickle.loads(txn.get('keys'.encode())) lmdb.CorruptedError: mdb_get: MDB_CORRUPTED: Located page was wrong type

I don't know what's wrong with the .mdb files and please tell me how to fix it.
Thanks in advance!!

+1

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

2 participants