jiasenlu / vilbert_beta

473 stars 96 forks source link

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

Open Tclz opened 3 years ago

Tclz commented 3 years ago

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 commented 3 years ago

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