centos配置YOLO v4环境(CPU)

2020-07-20  本文已影响0人  科英

1. 安装依赖

yum install -y gcc gcc-c++ make automake wget openssl-devel
wget https://github.com/Kitware/CMake/releases/download/v3.18.0/cmake-3.18.0.tar.gz
tar -zxvf cmake-3.18.0.tar.gz
cd cmake-3.18.0
./bootstrap
gmake
gmake install
cmake --version 
git clone https://github.com/AlexeyAB/darknet.git
cd darkent
sh build.sh

Download yolov4.weights file: https://drive.google.com/open?id=1cewMfusmPjYWbrnuJRuKhPMwRe_b9PaT

cp yolov4.weights darkent/
./darknet detector test ./cfg/coco.data ./cfg/yolov4.cfg ./yolov4.weights
上一篇 下一篇

猜你喜欢

热点阅读