Open Ramay7 opened 6 years ago
Hi, Can you try to git pull the lastest version of Sophus? I have updated the code for it.
Hi, @yuxng
I tried to change my Sophus with the following steps in Sophus/
:
git checkout master cd build cmake .. make
But, with the make
command, I got the errors like:
/usr/local/include/Eigen/src/Core/Matrix.h:304:35: error: no matching function for call to ‘Eigen::Matrix<ceres::Jet<double, 3>, 2, 1, 0, 2, 1>::_init2(const double&, const double&)’ Base::template _init2<T0,T1>(x, y); /usr/local/include/Eigen/src/Core/PlainObjectBase.h:706:30: error: invalid use of incomplete type ‘struct Eigen::internal::enable_if<false, double>’ /usr/local/include/Eigen/src/Core/PlainObjectBase.h:725:30: error: invalid use of incomplete type ‘struct Eigen::internal::enable_if<false, double>’ /usr/local/include/Eigen/src/Core/MathFunctions.h:365:34: error: invalid static_cast from type ‘const ceres::Jet<double, 3>’ to type ‘int’ ......... test/core/CMakeFiles/test_rxso2.dir/build.make:62: recipe for target 'test/core/CMakeFiles/test_rxso2.dir/test_rxso2.cpp.o' failed make[2]: [test/core/CMakeFiles/test_rxso2.dir/test_rxso2.cpp.o] Error 1 CMakeFiles/Makefile2:195: recipe for target 'test/core/CMakeFiles/test_rxso2.dir/all' failed make[1]: [test/core/CMakeFiles/test_rxso2.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2
The version of Eigen I use is from the link: https://drive.google.com/open?id=0B4WdmTHU8V7VTDFIdU5IWGxkMGM, which is mentioned in the issue 10:Steps for ubuntu 14.04.
I guess the problem is caused by the wrong version of Eigen, so what is your version of Eigen? Or can you give me some other guidances?
Thanks a lot!
I also updated the code for eigen. You can just download the latest version of eigen and try it.
Sophus is updated to the latest successfully now. However, the original problem I pasted in this issue is stilled not fixed while I run make
to compile kinect_fusion
.
Are there some other differences between your current dependencies with Steps for ubuntu 14.04 . Pangolin is updated? nanoflann is updated?
Thanks!
Have you done a git pull in the DA-RNN repo to update the code?
Thanks for your generous help. All the problems are solved by the command git pull origin
in $ROOT/DA-RNN
and $ROOT/Sophus
.
However, another problem comes while I run sudo ./experiments/scripts/rgbd_scene_multi_rgbd.sh 0
in $ROOT/DA-RNN
.
a@123:~/DA-RNN$ sudo ./experiments/scripts/rgbd_scene_single_rgbd.sh 0
- set -e
- export PYTHONUNBUFFERED=True
- PYTHONUNBUFFERED=True
- export CUDA_VISIBLE_DEVICES=0
- CUDA_VISIBLE_DEVICES=0
- export LD_PRELOAD=/usr/lib/libtcmalloc.so.4
- LDPRELOAD=/usr/lib/libtcmalloc.so.4 ++ date +%Y-%m-%d%H-%M-%S ERROR: ld.so: object '/usr/lib/libtcmalloc.so.4' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
- LOG=experiments/logs/rgbd_scene_single_rgbd.txt.2018-03-29_13-22-17
- exec ++ tee -a experiments/logs/rgbd_scene_single_rgbd.txt.2018-03-29_13-22-17 ERROR: ld.so: object '/usr/lib/libtcmalloc.so.4' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
- echo Logging output to experiments/logs/rgbd_scene_single_rgbd.txt.2018-03-29_13-22-17 Logging output to experiments/logs/rgbd_scene_single_rgbd.txt.2018-03-29_13-22-17
- ./tools/train_net.py --gpu 0 --network vgg16_convs --weights data/imagenet_models/vgg16_convs.npy --imdb rgbd_scene_train --cfg experiments/cfgs/rgbd_scene_single_rgbd.yml --iters 40000 Traceback (most recent call last): File "./tools/train_net.py", line 13, in
from fcn.train import get_training_roidb, train_net File "/home/a/DA-RNN/tools/../lib/fcn/train.py", line 16, in import tensorflow as tf ImportError: No module named tensorflow
But, this is ok:
a@123:~/DA-RNN$ python Python 2.7.14 |Anaconda custom (64-bit)| (default, Dec 7 2017, 17:05:42) [GCC 7.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import tensorflow as tf /home/a/anaconda2/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from
float
tonp.floating
is deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type
. from ._conv import register_converters as _register_converters matrix1 = tf.constant([[3., 3.]]) matrix2 = tf.constant([[2.],[2.]]) product = tf.matmul(matrix1, matrix2)
sess = tf.Session()
2018-03-29 13:18:09.095832: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA 2018-03-29 13:18:09.341946: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2018-03-29 13:18:09.342235: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: name: GeForce GTX 1050 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.455 pciBusID: 0000:01:00.0 totalMemory: 3.94GiB freeMemory: 3.44GiB 2018-03-29 13:18:09.342257: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 1050 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1) result = sess.run(product) print(result) [[12.]]
The version of your python is 2.7 or 3.x? (But I think this does not matter .... ) Can you give me some suggestions? Thank you!
Hi, guys.
Firstly, thanks for your awsome work. However, when I replayed the repository in my machine, I met some errors while run
make
inkinect_fusion/build
.Here is my errors:
I have strictly followed the steps mentioned in the issue 10: Steps for ubuntu 14.04 . And I can make sure that the versions of dependencies are:
as @yuxng mentioned in the issue 2:Need more details for versions.
Can anyone @yuxng @kevinkit @JackHenry1992 help me please? Thanks for your generous help!