Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

代码请求 #129

Open
akang-ai opened this issue Nov 24, 2024 · 2 comments
Open

代码请求 #129

akang-ai opened this issue Nov 24, 2024 · 2 comments

Comments

@akang-ai
Copy link

Emitting ninja build file E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/6] E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\cuda_version.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251
-Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_su
ppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\sparseinst\lib\site-p
ackages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\ATLMFC\includ
e -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-I
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\cuda_version.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\cuda_version.obj -D__CUDA_NO_HALF_
OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
FAILED: E:/Model/SparseInst-main/detectron2/build/temp.win-amd64-cpython-38/Release/Model/SparseInst-main/detectron2/detectron2/layers/csrc/cuda_version.obj
E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\cuda_version.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcomp
iler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress
=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\sparseinst\lib\site-package
s\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\ATLMFC\include -IE:
\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Pro
gram Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\cuda_version.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\cuda_version.obj -D__CUDA_NO_HALF_OPERAT
ORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
E:/VS2022/ruanjian/VC/Tools/MSVC/14.42.34433/include\yvals_core.h(892): error: static assertion failed with "error STL1002: Unexpected compiler version, expected CUDA 12.4 or newer."

1 error detected in the compilation of "E:/Model/SparseInst-main/detectron2/detectron2/layers/csrc/cuda_version.cu".
cuda_version.cu
[2/6] E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd48
19 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assu
med -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs
\sparseinst\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.
42.34433\ATLMFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.
22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\la
yers\csrc\deformable\deform_conv_cuda_kernel.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
FAILED: E:/Model/SparseInst-main/detectron2/build/temp.win-amd64-cpython-38/Release/Model/SparseInst-main/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.obj
E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xc
ompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -X
cudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\spars
einst\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.344
33\ATLMFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.22621.
0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\c
src\deformable\deform_conv_cuda_kernel.obj -D__CUDA_NO_HALF_OPERATORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
E:/VS2022/ruanjian/VC/Tools/MSVC/14.42.34433/include\yvals_core.h(892): error: static assertion failed with "error STL1002: Unexpected compiler version, expected CUDA 12.4 or newer."

1 error detected in the compilation of "E:/Model/SparseInst-main/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu".
deform_conv_cuda_kernel.cu
[3/6] E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd
4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_as
sumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\en
vs\sparseinst\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\1
4.42.34433\ATLMFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.
0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron
2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
FAILED: E:/Model/SparseInst-main/detectron2/build/temp.win-amd64-cpython-38/Release/Model/SparseInst-main/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.obj
E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -
Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed
-Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\spa
rseinst\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.3
4433\ATLMFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.2262
1.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\laye
rs\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
E:/VS2022/ruanjian/VC/Tools/MSVC/14.42.34433/include\yvals_core.h(892): error: static assertion failed with "error STL1002: Unexpected compiler version, expected CUDA 12.4 or newer."

1 error detected in the compilation of "E:/Model/SparseInst-main/detectron2/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu".
ROIAlignRotated_cuda.cu
[4/6] E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd
4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_as
sumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\en
vs\sparseinst\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\1
4.42.34433\ATLMFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.
0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron
2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
FAILED: E:/Model/SparseInst-main/detectron2/build/temp.win-amd64-cpython-38/Release/Model/SparseInst-main/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.obj
E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -
Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed
-Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\spa
rseinst\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.3
4433\ATLMFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.2262
1.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\laye
rs\csrc\box_iou_rotated\box_iou_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
E:/VS2022/ruanjian/VC/Tools/MSVC/14.42.34433/include\yvals_core.h(892): error: static assertion failed with "error STL1002: Unexpected compiler version, expected CUDA 12.4 or newer."

1 error detected in the compilation of "E:/Model/SparseInst-main/detectron2/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu".
box_iou_rotated_cuda.cu
[5/6] E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xc
ompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -X
cudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\spars
einst\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.344
33\ATLMFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.22621.
0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\nm
s_rotated\nms_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
FAILED: E:/Model/SparseInst-main/detectron2/build/temp.win-amd64-cpython-38/Release/Model/SparseInst-main/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.obj
E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompile
r /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe
--diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\sparseinst
lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\ATL
MFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.22621.0\cpp
winrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\nms_rota
ted\nms_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
E:/VS2022/ruanjian/VC/Tools/MSVC/14.42.34433/include\yvals_core.h(892): error: static assertion failed with "error STL1002: Unexpected compiler version, expected CUDA 12.4 or newer."

1 error detected in the compilation of "E:/Model/SparseInst-main/detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu".
nms_rotated_cuda.cu
[6/6] E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xco
mpiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xc
udafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\sparse
inst\lib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.3443
3\ATLMFC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.22621.0
\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\defo
rmable\deform_conv_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
FAILED: E:/Model/SparseInst-main/detectron2/build/temp.win-amd64-cpython-38/Release/Model/SparseInst-main/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.obj
E:\CUDA_toolkit\bin\nvcc --generate-dependencies-with-compile --dependency-output E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.obj.d --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler
/wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe
--diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IE:\Model\SparseInst-main\detectron2\detectron2\layers\csrc -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\torch\csrc\api\include -IE:\Anaconda\envs\sparseinst\l
ib\site-packages\torch\include\TH -IE:\Anaconda\envs\sparseinst\lib\site-packages\torch\include\THC -IE:\CUDA_toolkit\include -IE:\Anaconda\envs\sparseinst\include -IE:\Anaconda\envs\sparseinst\Include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\include -IE:\VS2022\ruanjian\VC\Tools\MSVC\14.42.34433\ATLM
FC\include -IE:\VS2022\ruanjian\VC\Auxiliary\VS\include "-IE:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IE:\Windows Kits\10\include\10.0.22621.0\um" "-IE:\Windows Kits\10\include\10.0.22621.0\shared" "-IE:\Windows Kits\10\include\10.0.22621.0\winrt" "-IE:\Windows Kits\10\include\10.0.22621.0\cppw
inrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -c E:\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o E:\Model\SparseInst-main\detectron2\build\temp.win-amd64-cpython-38\Release\Model\SparseInst-main\detectron2\detectron2\layers\csrc\deformable
\deform_conv_cuda.obj -D__CUDA_NO_HALF_OPERATORS
_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86
E:/VS2022/ruanjian/VC/Tools/MSVC/14.42.34433/include\yvals_core.h(892): error: static assertion failed with "error STL1002: Unexpected compiler version, expected CUDA 12.4 or newer."

E:/Anaconda/envs/sparseinst/lib/site-packages/torch/include\ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

E:/Anaconda/envs/sparseinst/lib/site-packages/torch/include\ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

E:/Anaconda/envs/sparseinst/lib/site-packages/torch/include\ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead

E:/Anaconda/envs/sparseinst/lib/site-packages/torch/include\ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead

1 error detected in the compilation of "E:/Model/SparseInst-main/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu".
deform_conv_cuda.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "E:\Anaconda\envs\sparseinst\lib\site-packages\torch\utils\cpp_extension.py", line 1717, in _run_ninja_build
subprocess.run(
File "E:\Anaconda\envs\sparseinst\lib\subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "setup.py", line 151, in
setup(
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_init_.py", line 117, in setup
return distutils.core.setup(**attrs)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\core.py", line 183, in setup
return run_commands(dist)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\core.py", line 199, in run_commands
dist.run_commands()
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\dist.py", line 954, in run_commands
self.run_command(cmd)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools\dist.py", line 950, in run_command
super().run_command(command)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools\dist.py", line 950, in run_command
super().run_command(command)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\dist.py", line 973, in run_command
cmd_obj.run()
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools\command\build_ext.py", line 98, in run
_build_ext.run(self)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\command\build_ext.py", line 359, in run
self.build_extensions()
File "E:\Anaconda\envs\sparseinst\lib\site-packages\torch\utils\cpp_extension.py", line 735, in build_extensions
build_ext.build_extensions(self)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\command\build_ext.py", line 476, in build_extensions
self._build_extensions_serial()
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\command\build_ext.py", line 502, in _build_extensions_serial
self.build_extension(ext)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools\command\build_ext.py", line 263, in build_extension
_build_ext.build_extension(self, ext)
File "E:\Anaconda\envs\sparseinst\lib\site-packages\setuptools_distutils\command\build_ext.py", line 557, in build_extension
objects = self.compiler.compile(
File "E:\Anaconda\envs\sparseinst\lib\site-packages\torch\utils\cpp_extension.py", line 708, in win_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "E:\Anaconda\envs\sparseinst\lib\site-packages\torch\utils\cpp_extension.py", line 1399, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "E:\Anaconda\envs\sparseinst\lib\site-packages\torch\utils\cpp_extension.py", line 1733, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension我在windows上老是构建不了detectron2.c这个模块,请问是什么原因呢

@akang-ai
Copy link
Author

image

@akang-ai
Copy link
Author

akang-ai commented Dec 4, 2024

image
你好,这是我在自己的数据上训练的模型可视化后的结果,怎么在比较小的物体上效果这么差呢,而且为什么没有bbox出现呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant