windows上安装detectron2

windows10 +Microsoft Visual Studio Community 2022 (64 位) +torch1.10.1+cu113 torchvision0.11.2+cu113

主要参考文章:
https://medium.com/@yogeshkumarpilli/how-to-install-detectron2-on-windows-10-or-11-2021-aug-with-the-latest-build-v0-5-c7333909676f

错误一:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include\crt/host_config.h(143): fatal error C1189: #error: – unsupported Microsoft Visual Studio version! Only the versions between 2013 and 2017 (inclusive) are supported!

参考:
https://www.cnblogs.com/MK-XIAOYU/p/13413039.html

错误二

detectron2/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu(14): error: name must be a namespace name

参考:
https://blog.csdn.net/fengmaomao1991/article/details/118899841

成功安装后
在这里插入图片描述

你可能感兴趣的:(pytorch,深度学习,detectron2)