windows安装detectron2

参考:
WIN10安装Detectron2(0.1或0.4.1,基于Pytorch1.8.1、Cuda11.1.1)
How to easily install Detectron2 on Windows 10 ? (可能需要梯子)

重点步骤

How to easily install Detectron2 on Windows 10 ?

错误

Microsoft Visual C++ 14.0 or greater is required.

WIN10安装Detectron2(0.1或0.4.1,基于Pytorch1.8.1、Cuda11.1.1)

pip install -e .的时候会报错。
看了很多解决办法,都不行。一定要安装Visual Studio。
我安装了Visual Studio Community 2019(内存空间 需要 大概 6~8G)。

ImportError: DLL load failed win32file : 找不到指定的程序。

【报错】import win32file ImportError: DLL load failed: 找不到指定的程序。

解决:降低pywin32版本

pip install pywin32==205

猜你喜欢

转载自blog.csdn.net/LittleSeedling/article/details/119683545