Closed FitashUlHaq closed 4 years ago
Make sure you pass the correct path to data when running the training script.
the path is correct with two folders train and val both containing different episodes
Can you print the fullpath here: https://github.com/dianchen96/LearningByCheating/blob/release-0.9.6/bird_view/utils/datasets/birdview_lmdb.py#L64 and see if it makes sense?
If yes then check the dataset size. If both make sense then the issue might be related to the lmdb installation.
Closing it for now. If this is not solved feel free to reopen it and commen below.
I tried:
only few episodes can be used, all others gave the same error
I am using ubunutu 18.04, python 3.6.9, lmdb 0.94
Can you try running in the python environment we provided in the setup instructions? That uses python 3.5.
I tried that and same error as
/media/fitash/Carladata/train/001: MDB_INVALID: File is not an LMDB file
i am using RTX 2080ti
which ubuntu version are you using?
I am using 18.04
Thanks for the details. I used 18.04 and 16.04 and both worked for me. Do the corrupt runs have the correct files in it (i.e lock.mdb etc.) & have the correct file size?
the lock files are of the same size while the data file is sometime 2.0gbs sometime 1.8 and 2.2. Mostly the corrupt files are other than the last 6 files
This is odd... the file sizes look correct to me. I will try your env and see if i can reproduce it. In the mean time can you try what if you just collect 1 episode and see if it is corrupted. Also maybe take a a look at https://stackoverflow.com/questions/44407659/how-to-force-64-bit-lmdb-to-generate-a-32-bit-database if your machine is 32-bit.
I have generated 100 episodes using the given script but when i try to train the birdview i am getting this error
MDB_INVALID: File is not an LMDB file
can you please guide me what can be the issue?
any help will be appreciated. Many thanks Fitash