yuxng / PoseCNN

A Convolutional Neural Network for 6D Object Pose Estimation in Cluttered Scenes
https://rse-lab.cs.washington.edu/projects/posecnn/
MIT License
746 stars 242 forks source link

Error Running sh make.sh #106

Open sinamlk opened 4 years ago

sinamlk commented 4 years ago

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

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.

Lin1225 commented 4 years ago

@sinamlk did you solve it ?

Ixion46 commented 4 years ago

Did anybody know how to solve this please?

dhruvsasuke commented 4 years ago

Did anyone solve it yet?

520xyxyzq commented 3 years ago

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

renjiahao0928 commented 3 years ago

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

sophiewitt commented 2 years ago

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?

aee-aee commented 1 year ago

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.