yuxng / DA-RNN

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

error on running dateset codes #18

Open wsndy1010 opened 6 years ago

wsndy1010 commented 6 years ago

@yuxng said he updated the code for latest version of Sophus and Eigen. i tried it once and didnt work. with git pull origin in $ROOT/DA-RNN and complied successfully. for the error: cannot find -ltensorflow_framework. librensorflow, librensorflow_framework are tensorflow dynamic lib which be installed addionally. check http://platanios.org/tensorflow_scala/installation.html#installation-0-dependencies-1 and http://www.rubydoc.info/github/somaticio/tensorflow.rb. dont forget copy the libs to path: /usr/lib/

first run training code come out errors about python version problems. my default version of python is 3.5 and the codes is python2, so i change my default python version and reinstalled tensorflow. then comes some strange errors: when i try ./experiments/scripts/shapenet_scene_multi_rgbd.sh 0
error : terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc
i traced it back, the command line: from networks.factory import get_network, is the source for this error. i dont kown how to fix it. when i try sudo ./experiments/scripts/shapenet_scene_multi_rgbd_test.sh 0
error: ImportError: libkfusion.so: cannot open shared object file: No such file or directory. but libkfusion.so exits in /kinect_fusion/ build when i try ./experiments/scripts/shapenet_scene_multi_rgbd_test.sh 0
error: ImportError: ../lib/kinect_fusion/kfusion.so: undefined symbol: _ZN2df12KinectFusion10save_modelESs . kfusion.so exits also in path /kinect_fusion.

wondering is there anyone running all codes successfully without encountering these errors or how u fix with it ?

Wei2624 commented 6 years ago

@wsndy1010 Hi, I encountered the same undefined symbol error as you did. I am wonder if you solved it.

wsndy1010 commented 6 years ago

@Wei2624 no, i give it up

gaochuan2017 commented 5 years ago

@yuxng has gived the solution to the "undefined symbol" issue you mentioned.You can add text "add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)" to CMakelists.txt of Pangolin and try to install this library again .Then add this text also to CMakelists.txt of KinectFusion and try again.I use this method to make the "undefined symbol" Error disappear.