yilei0620 / RGBD-Slam-Semantic-Seg-DeepLab

The package is common Slam combined with DeepLab-V2-CRF Library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runing error

zhenglongyu opened this issue · comments

I have successfully compiled the code. But when I run it, I met segmentation fault and the program finished unexpectly:
layer {
name: "fc8_interp"
type: "Interp"
bottom: "fc8_voc12"
top: "fc8_interp"
interp_param {
zoom_factor: 8
}
}
layer {
name: "crf"
type: "DenseCRF"
bottom: "fc8_interp"
bottom: "data_dim"
bottom: "data"
top: "crf_inf"
include {
phase: TEST
}
dense_crf_param {
max_iter: 30
pos_xy_std: 2
pos_w: 2
bi_xy_std: 65
bi_rgb_std: 3
bi_w: 4
}
}
layer {
name: "crf_interp_argmax"
type: "ArgMax"
bottom: "crf_inf"
top: "crf_interp_argmax"
argmax_param {
axis: 1
}
}
I0701 16:02:11.589815 7097 layer_factory.hpp:77] Creating layer data
I0701 16:02:11.589840 7097 net.cpp:106] Creating Layer data
I0701 16:02:11.589846 7097 net.cpp:411] data -> data
I0701 16:02:11.589864 7097 net.cpp:411] data -> label
I0701 16:02:11.589874 7097 net.cpp:411] data -> data_dim
I0701 16:02:11.589885 7097 image_seg_data_layer.cpp:46] Opening file ./data/temp/temp.txt
I0701 16:02:11.589905 7097 image_seg_data_layer.cpp:68] A total of 0 images.
The program has unexpectedly finished.

commented

Can you post your parameter.txt here? I think there are some mistakes in configure or data path.

detector=sift
good_match_threshold=5

camera

camera.cx=325.5;
camera.cy=253.5;
camera.fx=518.0;
camera.fy=519.0;
camera.scale=1000.0;

start_index= 200
end_index=393

#rgb_dir=./data/rgb_png/
rgb_dir = /home/zhenglongyu/data/ICL_NUIM/kt0/rgb/
rgb_extension=.png
depth_dir=/home/zhenglongyu/data/ICL_NUIM/kt0/depth/
depth_extension=.png

voxel_grid=0.01

visualize_pointcloud=yes

min_good_match=10

min_inliers=5

max_norm=0.5

keyframe_threshold=0.1
max_norm_lp=5.0

Loop closure

check_loop_closure=yes
nearby_loops=5
random_loops=5