Closed leao1995 closed 3 years ago
Thanks for your interest in our work and data! I've re-runed I/O using my provided code and it works through prep & ad, so a few general tips are:
For the environments I’m using, please see:
and relavant codes for I/O:
I’ve just downloaded the data from the Google Drive and test these myself, it works fine, as reproduced by others (#8) as well.
If you want to convert the lmdb
files into other formats, e.g., hdf5
, you might find OcCo_Torch/utils/lmdb2hdf5.py
useful
For anyone else stumbling across this issue, make sure you're using the right version of tensorpack
. I had this exact problem with the exact same "invalid load key" in the TF implementation of OcCo. Although the Requirements_TF.txt
allows any version >=0.8.9, what worked for me was downgrading from tensorpack=0.11
(the only version available through conda) to tensorpack=0.8.9
.
Hi,
I'm trying to load the lmdb data you shared using the lmdb_dataflow function, but I got an error:
_pickle.UnpicklingError: invalid load key, '\xdc'.
Do you know how to fix this? Thanks