CubemapSLAM icon indicating copy to clipboard operation
CubemapSLAM copied to clipboard

can not run

Open tub-sgg opened this issue 5 years ago • 4 comments

Loading ORB Vocabulary. This could take a while... terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

tub-sgg avatar Nov 22 '19 16:11 tub-sgg

#lafida indoor dynamic ../bin/cubemap_lafida ../Vocabulary/ORBvoc.txt
../Config/lafida_cam0_params.yaml
"$DATASET_PATH"
"$IMG_TS_PATH"
"$CUBE_MASK"
../bin/trajs/lafida_indoor_dynamic.txt
../bin/trajs/lafida_indoor_dynamic_perf.txt

what's this? ../bin/trajs/lafida_indoor_dynamic.txt
../bin/trajs/lafida_indoor_dynamic_perf.txt

tub-sgg avatar Nov 22 '19 16:11 tub-sgg

DATASET_PATH="/home/alex/Downloads/indoor_dynamic/imgs/cam0" IMG_TS_PATH="/home/alex/Downloads/indoor_dynamic/images_and_timestamps.txt" here I have already changed but still can not run

tub-sgg avatar Nov 22 '19 16:11 tub-sgg

Just a minor change. I guess the script is called inside the Scripts folder so you need to add .. before your path for DATASET_PATH and IMG_TS_PATH. For ref. DATASET_PATH="/home/alex/Downloads/indoor_dynamic/imgs/cam0" should be DATASET_PATH="../home/alex/Downloads/indoor_dynamic/imgs/cam0".

kaustubh-sadekar avatar Jan 22 '20 10:01 kaustubh-sadekar

@tub-sgg u need to check the if there's /Vocabulary/ORBvoc.txt, if not, unzip ORBvoc.txt.tar.gz to get it

luzhaozhang2276 avatar Jul 03 '20 15:07 luzhaozhang2276