baidu / ICE-BA

Apache License 2.0
705 stars 232 forks source link

how to run ice-ba #31

Open pangzh opened 5 years ago

pangzh commented 5 years ago

when i run the program, i meet the follow problem. /home/robot/myslam/ICE-BA/bin/ice_ba --imgs_folder /media/robot/file/dataset/EuRoC/MH/MH_01_easy --start_idx 0 --end_idx 1000 --iba_param_path /home/robot/myslam/ICE-BA/config/config_of_mono.txt --gba_camera_save_path /media/robot/file/dataset/EuRoC/MH/result/MH_01_easy.txt terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted at 1562862214 (unix time) try "date -d @1562862214" if you are using GNU date PC: @ 0x7fe4a137e428 gsignal SIGABRT (@0x3e800004b9a) received by PID 19354 (TID 0x7fe4a7357780) from PID 19354; stack trace: @ 0x7fe4a137e4b0 (unknown) @ 0x7fe4a137e428 gsignal @ 0x7fe4a138002a abort @ 0x7fe4a1cc184d gnu_cxx::verbose_terminate_handler() @ 0x7fe4a1cbf6b6 (unknown) @ 0x7fe4a1cbf701 std::terminate() @ 0x7fe4a1cbf919 cxa_throw @ 0x7fe4a1cbfebc operator new() @ 0x413ebd std::cxx11::basic_string<>::_M_construct<>() @ 0x41b96c boost::filesystem::operator<< <>() @ 0x4101bf main @ 0x7fe4a1369830 __libc_start_main @ 0x413cc9 _start @ 0x0 (unknown) ./run_ice_ba_mono.sh: line 12: 19354 Aborted (core dumped) /home/robot/myslam/ICE-BA/bin/ice_ba --imgs_folder /media/robot/file/dataset/EuRoC/MH/MH_01_easy --start_idx 0 --end_idx 1000 --iba_param_path /home/robot/myslam/ICE-BA/config/config_of_mono.txt --gba_camera_save_path /media/robot/file/dataset/EuRoC/MH/result/MH_01_easy.txt