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

how to Change numpy array to be loaded into 'raw' to LidarTopPreprocess.so in ExampleUsage_Top.py line 126. #52

Open
miaozujia opened this issue Oct 20, 2022 · 0 comments

Comments

@miaozujia
Copy link

i follow the readme.md in ver3/ to Change numpy array to be loaded into 'raw' to LidarTopPreprocess.so in ExampleUsage_Top.py line 126.

just like this: raw=np.load("LidarTopPreprocess.so",allowo_pickle=True)
however , python report error:
Traceback (most recent call last):
File "/home/siat/Downloads/ENTER/envs/mv3d/lib/python3.9/site-packages/numpy/lib/npyio.py", line 448, in load
return pickle.load(fid, **pickle_kwargs)
_pickle.UnpicklingError: invalid load key, '\x7f'.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/siat/work/object_detection/didi/code/MV3D/src/lidar_data_preprocess/Python_to_C_Interface/ver3/ExampleUsage_Top.py", line 127, in
raw = np.load("LidarTopPreprocess.so",allow_pickle=True)
File "/home/siat/Downloads/ENTER/envs/mv3d/lib/python3.9/site-packages/numpy/lib/npyio.py", line 450, in load
raise IOError(
OSError: Failed to interpret file 'LidarTopPreprocess.so' as a pickle

so how can i do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant