yangxue0827 / R-DFPN_FPN_Tensorflow

R-DFPN: Rotation Dense Feature Pyramid Networks (Tensorflow)
http://www.mdpi.com/2072-4292/10/1/132
120 stars 47 forks source link

EnvironmentError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME #25

Open RobinLiu1987 opened 3 years ago

RobinLiu1987 commented 3 years ago

The system environment used: VMware Workstation 15 Pro + Ubuntu18.0 + Python2.7 + Tensorflow1.2.1 + opencv-python 4.2.0 I'd like to install R-DFPN_FPN_Tensorflow in CPU ONLY mode. Is this possible? Which configuration files should I modify? Can I get rid of cude software? Here is a list of the files That I have modified: $R-DFPN_ROOT//libs/configs/cfgs.py(modify the parameters of NMS and IOU functions use_gpu = False) python setup.py build_ext --inplace I got: python setup.py build_ext --inplace Traceback (most recent call last): File "setup.py", line 59, in CUDA = locate_cuda() File "setup.py", line 47, in locate_cuda raise EnvironmentError('The nvcc binary could not be ' EnvironmentError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME