Skip to content

A ncnn inference implementation of the yolov7 on linux

Notifications You must be signed in to change notification settings

DHY-2020/yolov7_ncnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yolov7_ncnn

1.安装opencv https://opencv.org/releases/

2.安装ncnn https://github.com/Tencent/ncnn

3.导出onnx模型时需要修改export.py和yolo.py的两处,如下:
export.py中使用onnx-simplifier简化onnx模型
image

yolo.py中修改输出方式

image

4.将onnx模型转为ncnn模型 https://convertmodel.com/

5.下载本项目,进入项目文件夹下

6.打开终端执行
mkdir build
cd build
cmake ..
make

7.结果

image

About

A ncnn inference implementation of the yolov7 on linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published