We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(ts_env) D:\project\public\detectron2>python setup.py build develop running build running build_py running build_ext building 'detectron2._C' extension Emitting ninja build file D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) 1.7.2 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:D:\conda\envs\ts_env\lib\site-packages\torch\lib "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\lib/x64" /LIBPATH:D:\conda\envs\ts_env\libs /LIBPATH:D:\conda\envs\ts_env\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" c10.lib torch.lib torch_cpu.lib torch_python.lib cudart.lib c10_cuda.lib torch_cuda.lib /EXPORT:PyInit__C D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\vision.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\cocoeval\cocoeval.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\cuda_version.obj /OUT:build\lib.win-amd64-3.7\detectron2_C.cp37-win_amd64.pyd /IMPLIB:D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc_C.cp37-win_amd64.lib LINK : fatal error LNK1181: 无法打开输入文件“D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\vision.obj” error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe' failed with exit status 1181
The text was updated successfully, but these errors were encountered:
请问这个问题怎么解决的?
Sorry, something went wrong.
No branches or pull requests
(ts_env) D:\project\public\detectron2>python setup.py build develop
running build
running build_py
running build_ext
building 'detectron2._C' extension
Emitting ninja build file D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.7.2
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:D:\conda\envs\ts_env\lib\site-packages\torch\lib "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.0\lib/x64" /LIBPATH:D:\conda\envs\ts_env\libs /LIBPATH:D:\conda\envs\ts_env\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" c10.lib torch.lib torch_cpu.lib torch_python.lib cudart.lib c10_cuda.lib torch_cuda.lib /EXPORT:PyInit__C D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\vision.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\cocoeval\cocoeval.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\cuda_version.obj /OUT:build\lib.win-amd64-3.7\detectron2_C.cp37-win_amd64.pyd /IMPLIB:D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc_C.cp37-win_amd64.lib
LINK : fatal error LNK1181: 无法打开输入文件“D:\project\public\detectron2\build\temp.win-amd64-3.7\Release\project\public\detectron2\detectron2\layers\csrc\vision.obj”
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe' failed with exit status 1181
The text was updated successfully, but these errors were encountered: