Open ghost opened 3 years ago
I was facing the same error. In my case, it was due to the version of tensorpack. It should be 0.8.9 (as mentioned in the requirements.txt), else the LMDBSerializer.load throws this error.
If you are using virtual environments then uninstall the previous tensorpack (if it exists) by 'pip uninstall tensorpack' and install a new tensorpack using the command 'pip install tensorpack==0.8.9'.
@HimangiM. I solved this problem in the same way,and thanks for your help!
Hello. When I tried to read your lmdb data by 'LMDBSerializer.load('train.lmdb')', an error arised 'UnpicklingError: invalid load key, '\xdc'. Can you help me out?