wentaoyuan / pcn

Code for PCN: Point Completion Network in 3DV'18 (Oral)
https://wentaoyuan.github.io/pcn/
MIT License
409 stars 85 forks source link

lmdb #52

Open ghost opened 3 years ago

ghost commented 3 years ago

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?

HimangiM commented 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'.

ghost commented 3 years ago

@HimangiM. I solved this problem in the same way,and thanks for your help!