CLRNet
CLRNet copied to clipboard
I'm having some problems of Error :python setup.py build develop
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc" -c ./clrnet/ops/csrc\nms_kernel.cu -o build\temp.win-amd64-3.9\Release./clrnet/ops/csrc\nms_kernel.obj -IH:\ana\envs\swinunet\lib\site-packages\torch\include -IH:\ana\envs\swinunet\lib\site-packages\torch\include\torch\csrc\api\include -IH:\ana\envs\swinunet\lib\site-packages\torch\include\TH -IH:\ana\envs\swinunet\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\include" -IH:\ana\envs\swinunet\include -IH:\ana\envs\swinunet\Include "-IH:\Microsoft\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.32.31326\ATLMFC\include" "-IH:\Microsoft\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.32.31326\include" "-IH:\Windows Kits\10\include\10.0.19041.0\ucrt" "-IH:\Windows Kits\10\include\10.0.19041.0\shared" "-IH:\Windows Kits\10\include\10.0.19041.0\um" "-IH:\Windows Kits\10\include\10.0.19041.0\winrt" "-IH:\Windows Kits\10\include\10.0.19041.0\cppwinrt" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nms_impl -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=compute_52 -gencode=arch=compute_52,code=sm_52 --use-local-env nms_kernel.cu H:/ana/envs/swinunet/lib/site-packages/torch/include\ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead
H:/ana/envs/swinunet/lib/site-packages/torch/include\ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead
H:/ana/envs/swinunet/lib/site-packages/torch/include\ATen/core/builtin_function.h(110): warning #20236-D: pragma "diag_suppress" is deprecated, use "nv_diag_suppress" instead
H:/ana/envs/swinunet/lib/site-packages/torch/include\ATen/core/builtin_function.h(117): warning #20236-D: pragma "diag_default" is deprecated, use "nv_diag_default" instead
H:\ana\envs\swinunet\lib\site-packages\torch\include\pybind11\cast.h(1429): error: too few arguments for template template parameter "Tuple" detected during instantiation of class "pybind11::detail::tuple_caster<Tuple, Ts...> [with Tuple=std::pair, Ts=<T1, T2>]" (1507): here
H:\ana\envs\swinunet\lib\site-packages\torch\include\pybind11\cast.h(1503): error: too few arguments for template template parameter "Tuple" detected during instantiation of class "pybind11::detail::tuple_caster<Tuple, Ts...> [with Tuple=std::pair, Ts=<T1, T2>]" (1507): here
2 errors detected in the compilation of "./clrnet/ops/csrc/nms_kernel.cu". error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc.exe' failed with exit code 1
Be hopeful to your reply. Thanks!!!
Be hopeful to your reply. Thanks!!!
Sorry, we haven't test on windows yet and we don't have windows machine to test it. You'd better try on ubuntu.
thank you, I have solved it.
thank you, I have solved it.
Excuse me, I also encountered this problem, how did you solve it?
thank you, I have solved it.
i have found the same problem , how can i fix it ? thanks!!