PoseCNN icon indicating copy to clipboard operation
PoseCNN copied to clipboard

Error Running sh make.sh

Open sinamlk opened this issue 6 years ago • 7 comments

Hello,

I am a beginner deep learning and trying to follow the guiding steps. However, when I try to run sh make.sh, I get a lot of warning messages like the followings:

/home/sinamlk/anaconda3/envs/tf-gpu-cuda8/lib/python3.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1288): warning: calling a constexpr host function from a host device function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/home/sinamlk/anaconda3/envs/tf-gpu-cuda8/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.

1 error detected in the compilation of "/tmp/tmpxft_000024cf_00000000-6_average_distance_loss_op_gpu.cu.cpp1.ii". g++: error: average_distance_loss_op_gpu.cu.o: No such file or directory average_distance_loss

1 error detected in the compilation of "/tmp/tmpxft_000024d9_00000000-6_hough_voting_gpu_op.cu.cpp1.ii". g++: error: hough_voting_gpu_op.cu.o: No such file or directory hough_voting_gpu_layer In file included from hough_voting_op.cc:25:0: ransac.h:31:10: fatal error: nlopt.hpp: No such file or directory #include <nlopt.hpp> compilation terminated. hough_voting_layer

and at the end, I get the following error message:

/usr/bin/ld: cannot find -ltensorflow_framework collect2: error: ld returned 1 exit status build computing label layer

Can someone please help me with this? I really need and appreciate your help.

sinamlk avatar Jan 29 '20 23:01 sinamlk

@sinamlk did you solve it ?

Lin1225 avatar Feb 09 '20 07:02 Lin1225

Did anybody know how to solve this please?

Ixion46 avatar May 12 '20 01:05 Ixion46

Did anyone solve it yet?

dhruvsasuke avatar Jun 23 '20 18:06 dhruvsasuke

https://github.com/bgshih/aster/issues/56#issuecomment-501973315

520xyxyzq avatar Aug 10 '20 16:08 520xyxyzq

Same errors,did anybody know how to solve this error?

renjiahao0928 avatar Jan 26 '21 07:01 renjiahao0928

I have the same error: /usr/bin/ld: cannot find -ltensorflow_framework collect2: error: ld returned 1 exit status build computing label layer

Can anybody help?

sophiewitt avatar Sep 20 '21 16:09 sophiewitt

using tensorflow > 2.0 I changed "-ltensorflow_framework" for "-fPIC" in make.sh

The build didn't show that error again but still running the demo.

aee-aee avatar Nov 08 '22 15:11 aee-aee