Closed ferakon closed 4 years ago
Was not detecting cl.exe in PATH (fixed this...) New errors:
Probably more OS / directory issues. Not to do with FCIS code.
C:\Users\User\Desktop\ML_project\FCIS-master\lib\nms>python setup_windows_cuda.py build_ext --inplace
running build_ext
building 'gpu_nms' extension
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.24.28314\bin\Hostx64\x64" -c -IC:\Users\User\Anaconda3\lib\site-packages\numpy\core\include -IC:\Programming\CUDA\v8.0\include -IC:\Users\User\Anaconda3\include -IC:\Users\User\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.24.28314\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" gpu_nms.cu -o build\temp.win-amd64-3.7\Release\gpu_nms.obj -O --ptxas-options=-v -arch=compute_35 -code=sm_35,sm_52,sm_61 -c --compiler-options=/nologo,/Ox,/W3,/GL,/DNDEBUG,/MD
nvcc fatal : '--ptxas-options=-v': expected a number
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1\\bin\\nvcc.exe' failed with exit status 1
C:\Users\User\Desktop\ML_project\FCIS-master\lib\nms>cd ..\mask
C:\Users\User\Desktop\ML_project\FCIS-master\lib\mask>python setup_windows.py build_ext --inplace
running build_ext
building 'gpu_mv' extension
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.24.28314\bin\Hostx64\x64" -c -IC:\Users\User\Anaconda3\lib\site-packages\numpy\core\include -IC:\Programming\CUDA\v8.0\include -IC:\Users\User\Anaconda3\include -IC:\Users\User\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.24.28314\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" gpu_mv.cu -o build\temp.win-amd64-3.7\Release\gpu_mv.obj -O --ptxas-options=-v -arch=sm_35 -c --compiler-options=/nologo,/Ox,/W3,/GL,/DNDEBUG,/MDnvcc fatal : '--ptxas-options=-v': expected a number
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.1\\bin\\nvcc.exe' failed with exit status 1
This code only work with CUDA 8 and old versions of VS out of the box it seems...
I receive the following messages when running init.bat on Windows 10.
Specifically with: setup_windows_cuda.py in lib/nms setup_windows.py in lib/mask
VS build tools are installed and build the other Cython files fine. I did have to change .iteritems to .items in setups for compatibility with python 3.
CUDA is 10.1, CUDNN up to date, mxnet up to date:
Any ideas what is going wrong here?