Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msgpack.exceptions.ExtraData: unpack(b) received extra data. #36

Open
YangZiz opened this issue Jan 11, 2023 · 1 comment
Open

msgpack.exceptions.ExtraData: unpack(b) received extra data. #36

YangZiz opened this issue Jan 11, 2023 · 1 comment
Labels
Resolved This is already resolved

Comments

@YangZiz
Copy link

YangZiz commented Jan 11, 2023

Hi@hansen7 :
When I run on my own dataset, the following errors occur. What should I do
Traceback (most recent call last): File "./OcCo_Torch/train_completion.py", line 253, in <module> main(args) File "./OcCo_Torch/train_completion.py", line 71, in main lmdb_train, args.batch_size, args.input_pts, args.gt_pts, is_training=True) File "/workspace/OcCo_Torch/OcCo_Torch/LMDB_DataFlow.py", line 77, in lmdb_dataflow df = dataflow.LMDBSerializer.load(lmdb_path, shuffle=False) File "/opt/conda/lib/python3.6/site-packages/tensorpack/dataflow/serialize.py", line 106, in load df = LMDBData(path, shuffle=shuffle) File "/opt/conda/lib/python3.6/site-packages/tensorpack/dataflow/format.py", line 91, in __init__ self._set_keys(keys) File "/opt/conda/lib/python3.6/site-packages/tensorpack/dataflow/format.py", line 111, in _set_keys self.keys = loads(self.keys) File "/opt/conda/lib/python3.6/site-packages/tensorpack/utils/serialize.py", line 43, in loads_msgpack max_str_len=MAX_MSGPACK_LEN) File "/opt/conda/lib/python3.6/site-packages/msgpack_numpy.py", line 287, in unpackb return _unpackb(packed, **kwargs) File "msgpack/_unpacker.pyx", line 201, in msgpack._cmsgpack.unpackb msgpack.exceptions.ExtraData: unpack(b) received extra data.

@hansen7
Copy link
Owner

hansen7 commented Jun 26, 2024

Hi @YangZiz.

There might be two reasons:

@hansen7 hansen7 added the Resolved This is already resolved label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolved This is already resolved
Projects
None yet
Development

No branches or pull requests

2 participants