yuxng / DA-RNN

Semantic Mapping with Data Associated Recurrent Neural Networks
MIT License
170 stars 72 forks source link

Error when test the trained model #21

Open gaochuan2017 opened 5 years ago

gaochuan2017 commented 5 years ago

I'm sure I have installed correct version of dependencies ,including Eigen,Sophus,Pangolin and so on.I'm not meeting Errors when "sh make.sh",I also succeed in installing KinectFusion ,that part is OK.But When I download and test the trained model Error occurs.It said "Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.created window" . The details are as follows:

:~/DA-RNN-master$ ./experiments/scripts/rgbd_scene_multi_rgbd_test.sh 0

{"down":[0,1,0],"forward":[0,0,1],"height":480,"param_names":["fu","fv","u0","v0","k1","k2","k3"],"params":[570.29999999999995,570.29999999999995,320,240,0,0,0],"right":[1,0,0],"serialno":"34178534347","type":"Poly3","width":640} "Poly3" params: 570.29999999999995 570.29999999999995 320 240 0 0 0
pose: [ [ 1, 0, 0, 0 ], [ 0, 1, 0, 0 ], [ 0, 0, 1, 0 ] ]

T_dc: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 Framebuffer with requested attributes not available. Using available framebuffer. You may see visual artifacts.created window ./experiments/scripts/rgbd_scene_multi_rgbd_test.sh: 行 25: 15989 段错误 (核心已转储) ./tools/test_net.py --gpu 0 --network vgg16 --model data/fcn_models/rgbd_scene/vgg16_fcn_rgbd_multi_frame_rgbd_scene_iter_40000.ckpt --imdb rgbd_scene_val --cfg experiments/cfgs/rgbd_scene_multi_rgbd.yml --rig data/RGBDScene/camera.json --kfusion 1

"段错误(核心转存储)" means “segmentation fault (core dumped)”. I check the code and I have found in fact Error is at the line 309 of test.py : if is_kfusion: KF = kfusion.PyKinectFusion(rig_filename) But the KinectFusion has been installed correctly so I don't know what causes the Error. Probable Reason may be: 1.I use RTX 2080 ,with Cuda 8.0 ,Cudnn 6.0.The device is not compatible. 2.I'm using a new computer,I have not installed OpenCV and other libraries in my computer yet.

@yuxng any suggestions? I'm vert interested in this superb project and thanks a lot .