HuajianUP / Photo-SLAM

[CVPR 2024] Photo-SLAM: Real-time Simultaneous Localization and Photorealistic Mapping for Monocular, Stereo, and RGB-D Cameras
GNU General Public License v3.0
425 stars 40 forks source link

Segmentation fault (core dumped) #33

Open Suhao07 opened 2 months ago

Suhao07 commented 2 months ago

Screenshot from 2024-09-07 17-19-51 output: First KF:0; Map init KF:0 New Map created with 1132 points Shutdown

Saving camera trajectory to ../results/tumrgbd/rgbd_dataset_freiburg1_desk/CameraTrajectory_TUM.txt ...

Saving keyframe trajectory to ../results/tumrgbd/rgbd_dataset_freiburg1_desk/KeyFrameTrajectory_TUM.txt ...

Saving trajectory to ../results/tumrgbd/rgbd_dataset_freiburg1_desk/CameraTrajectory_EuRoC.txt ... There are 1 maps in the atlas Map 0 has 151 KFs

End of saving trajectory to ../results/tumrgbd/rgbd_dataset_freiburg1_desk/CameraTrajectory_EuRoC.txt ...

Saving keyframe trajectory to ../results/tumrgbd/rgbd_dataset_freiburg1_desk/KeyFrameTrajectory_EuRoC.txt ...

Saving camera trajectory to ../results/tumrgbd/rgbd_dataset_freiburg1_desk/CameraTrajectory_KITTI.txt ... Segmentation fault (core dumped)

liquorleaf commented 2 months ago

Might be a ORB-SLAM3 problem. Please see whether ORB_SLAM3 issue 443 resolves it.

Santasu28 commented 2 weeks ago

Same as you,have you solved this issue?

Suhao07 commented 2 weeks ago

Same as you,have you solved this issue?

I've tried lots of solutions but all of them didn't work at all:( After that I doubt that the dataset is incomplete or broken so I download TUM dataset on their official website ,and I didn't encounter the same problem any more. btw the dataset I used is dynamic scene,when I ran the code on static scenes it works fine.So u can try the solutions of ORB_SLAM3,and check your dataset.Hope it could help u :D

Santasu28 commented 2 weeks ago

Same as you,have you solved this issue?

I've tried lots of solutions but all of them didn't work at all:( After that I doubt that the dataset is incomplete or broken so I download TUM dataset on their official website ,and I didn't encounter the same problem any more. btw the dataset I used is dynamic scene,when I ran the code on static scenes it works fine.So u can try the solutions of ORB_SLAM3,and check your dataset.Hope it could help u :D

Thank you a lot ! Kind of you!!

XYJ88888 commented 5 days ago

I also had this problem, opening viewer would cause segmentation fault, but when I use no_viewer it works fine