第一步:下载源码
darknet的源码官方链接:https://github.com/AlexeyAB/darknet
我已经搬移到gitee:lishan/darknet
源码项目中有介绍如何在windows上安装darknet
————————————————————————————————————————
Requirements for Windows, Linux and macOS
-
CMake >= 3.18: Download | CMake
-
Powershell (already installed on windows): Install PowerShell on Windows, Linux, and macOS - PowerShell | Microsoft Docs
-
CUDA >= 10.2: CUDA Toolkit Archive | NVIDIA Developer (on Linux do Post-installation Actions)
-
OpenCV >= 2.4: use your preferred package manager (brew, apt), build from source using vcpkg or download from OpenCV official site (on Windows set system variable
OpenCV_DIR
=C:\opencv\build
- where are theinclude
andx64
folders image) -
cuDNN >= 8.0.2 cuDNN Archive | NVIDIA Developer (on Linux follow steps described here