Zardinality / TF-deformable-conv

Implementation of deformable convolution as an operation in tensorflow
Apache License 2.0
111 stars 30 forks source link

deform_conv.cu.cc: No such file or directory #13

Open Haiyan-Chris-Wang opened 6 years ago

Haiyan-Chris-Wang commented 6 years ago

when I dio the sh ./lib/nvcc_compile.sh operations, I meet the folllowing errors, do you have any idea about how to solve it?

/home/tensor-server/.pyenv/versions/anaconda2-5.0.1/envs/df/lib/python2.7/site-packages/tensorflow/include nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). gcc: error: deform_conv.cu.cc: No such file or directory gcc: warning: ‘-x c++’ after last input file has no effect gcc: fatal error: no input files compilation terminated.

Zardinality commented 6 years ago

You need to open the ./lib first, then run this script.

Haiyan-Chris-Wang commented 6 years ago

@Zardinality Thanks a lot! It solves my problem! but when I do the sh g++_complie.sh operations, I meet the following errors:

/home/tensor-server/.pyenv/versions/anaconda2-5.0.1/envs/df/lib/python2.7/site-packages/tensorflow/include /usr/bin/ld: cannot find -lcudart collect2: error: ld returned 1 exit status

I think it seems like the cuda path problem? do you have any idea about how to solve it?

Zardinality commented 6 years ago

I don't think its related to this repo. Sorry I am not able to answer the question.