DetectionTeamUCAS / DetectionTeamUCAS/R2CNN_Faster-RCNN_Tensorflow

Try to run "python setup.py build_ext --inplace" in Windows 10

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
582
Forks
185
PR merge metrics
No merged PRs in 30d

Description

(base) C:\Users\slcib\Downloads\Compressed\R2CNN_Faster-RCNN_Tensorflow-master\libs\box_utils>python setup.py build_ext --inplace
running build_ext
skipping 'rbbox_overlaps.cpp' Cython extension (up-to-date)
building 'rbbox_overlaps' extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\nms
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe nms/rbbox_overlaps_kernel.cu rbbox_overlaps.cpp -odir build\temp.win-amd64-3.7\Release\nms -I C:\Users\slcib\Anaconda3\lib\site-packages\numpy\core\include -I "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -I C:/Users/slcib/Anaconda3\include -Xcompiler /EHsc,/W3,/nologo,/Ox,/MD -arch=sm_61 --ptxas-options=-v -c
rbbox_overlaps_kernel.cu
c1xx: fatal error C1083: Cannot open source file: 'nms/rbbox_overlaps_kernel.cu': No such file or directory
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -IC:\Users\slcib\Anaconda3\lib\site-packages\numpy\core\include "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\slcib\Anaconda3\include -IC:\Users\slcib\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\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" /EHsc /Tprbbox_overlaps.cpp /Fobuild\temp.win-amd64-3.7\Release\rbbox_overlaps.obj gcc nvcc
cl : Command line warning D9024 : unrecognized source file type 'gcc', object file assumed
cl : Command line warning D9027 : source file 'gcc' ignored
cl : Command line warning D9024 : unrecognized source file type 'nvcc', object file assumed
cl : Command line warning D9027 : source file 'nvcc' ignored
rbbox_overlaps.cpp
C:\Users\slcib\Anaconda3\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
rbbox_overlaps.cpp(1613): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
rbbox_overlaps.cpp(1622): warning C4244: '=': conversion from 'npy_intp' to 'int', possible loss of data
rbbox_overlaps.cpp(5670): error C2039: 'exc_type': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5671): error C2039: 'exc_value': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5672): error C2039: 'exc_traceback': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5679): error C2039: 'exc_type': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5680): error C2039: 'exc_value': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5681): error C2039: 'exc_traceback': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5682): error C2039: 'exc_type': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5683): error C2039: 'exc_value': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5684): error C2039: 'exc_traceback': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5739): error C2039: 'exc_type': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5740): error C2039: 'exc_value': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5741): error C2039: 'exc_traceback': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5742): error C2039: 'exc_type': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5743): error C2039: 'exc_value': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
rbbox_overlaps.cpp(5744): error C2039: 'exc_traceback': is not a member of '_ts'
C:\Users\slcib\Anaconda3\include\pystate.h(212): note: see declaration of '_ts'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.