windows上安装detectron2
生活随笔
收集整理的這篇文章主要介紹了
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
成功安裝后
總結
以上是生活随笔為你收集整理的windows上安装detectron2的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 高德地图自定义镂空区域
- 下一篇: python中的.nc文件处理 | 03