JingwenWang95/DSP-SLAM

Aborted (core dumped)

shuzhangshu opened this issue · 2 comments

terminate called after throwing an instance of 'pybind11::error_already_set'
what(): AttributeError: module 'skimage.measure' has no attribute 'marching_cubes_lewiner'

At:
/home/shu/DSP-SLAM/reconstruct/utils.py(130): convert_sdf_voxels_to_mesh
/home/shu/DSP-SLAM/reconstruct/optimizer.py(218): extract_mesh_from_code
Aborted (core dumped)

Hello author, the above is the error I prompted when running the code. When running the code, the interface will pop up for 5s first, and then it will end, sometimes even shut down.Could you please give me some guidance.

Hi @shuzhangshu! The error message is quite clear: it failed to import marching cubes function from skimage.measure on Python side. Marching cubes is only used for extracting meshes of reconstructed objects for visualisation. That's also why this error was not prompted from the beginning when no objects were reconstructed.

This can sometimes happen due to the version mismatch of skimage. Maybe you can try re-install the exact version of skimage as I provided in the environment file.

Hi @shuzhangshu! The error message is quite clear: it failed to import marching cubes function from skimage.measure on Python side. Marching cubes is only used for extracting meshes of reconstructed objects for visualisation. That's also why this error was not prompted from the beginning when no objects were reconstructed.

This can sometimes happen due to the version mismatch of skimage. Maybe you can try re-install the exact version of skimage as I provided in the environment file.
Thank you very much for your answer! I'm sorry to bother you because I was too careless. I have another question for your guidance. Of the three given running dataset codes, I can only run related KITTI datasets. The other two will be shut down suddenly when running, but KITTI will show some results and then shut down. Could you please ask if this is due to my computer hardware (or video memory. etc)?