Deformable-Convolution-V2-PyTorch
Deformable-Convolution-V2-PyTorch copied to clipboard
When running make.sh, it prompts that NVCC cannot be found
Hello. I encountered a problem when establishing the DCN-V2 environment. After running this command in sh make.sh, it reported this error /bin/sh: 1: :/usr/local/cuda/bin/nvcc: not found
, but I found this file on this path of my computer, and added (export PATH=$PATH:/usr/local/cuda/bin) to bashrc through $ sudo vi ~/.bashrc
this command, andsource ~/bashrc
restarted the service, but still reported the above error
Check whether the cuda home path is correct by echo $CUDA_HOME
. It should be /usr/local/cuda
if you can find /usr/local/cuda/bin/nvcc
If not, change it by export CUDA_HOME=/usr/local/cuda