bostondiditeam / MV3D

Multi-View 3D Object Detection Network for Autonomous Driving
480 stars 181 forks source link

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

Open miaozujia opened 1 year ago

miaozujia commented 1 year ago

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?