pytorch 配置opencv_YOLOv4 资源环境配置和测试样例效果

YOLOv4 资源环境配置和测试样例效果

d291e5596ef7b8bf35ca162f58077182.png

基本环境:cuda=10.0,cudnn>=7.0, opencv>=2.4

一、下载yolov4

git clonehttps://github.com/AlexeyAB/darknet.git

二、编译

1.  # cd到darknet目录下
2.  make
3.  或者 make -j8

三、测试

1.  ./darknet

2. 若出现下图,则说明编译成功:

f31397c0f41df57a0e56dd7b36f759fa.png

生成上述视频的命令:

./darknet.exe detector demo ../../cfg/coco.data ../../cfg/yolov4-1024.cfg ../../yolov4.weights ~/Desktop/0002-20170519-2.mp4 -thresh 0.2 -ext_output -out_filename ~/Desktop/output.avi

原 YOLOv4 是基于DarkNet框架的,已经有不少小伙伴在着手其他版本的实现:

1、YOLOv4 的 TensorFlow 2.0 实现

https://github.com/xiao9616/yolo4_tensorflow2

2、YOLOv4 的 TensorFlow 实现.

持续更新使用说明及设备介绍详细https://github.com/rrddcc/YOLOv4_tensorflow

3、YOLOv4 的 TensorFlow 实现.

https://github.com/klauspa/Yolov4-tensorflow

4、YOLOv4 的 PyTorch 实现

https://github.com/GZQ0723/YoloV4​github.com

5、YOLOv4(TensorFlow后端)的 Keras 实现

https://github.com/Ma-Dan/keras-yolo4

6、YOLOv4 的 PyTorch 实现

https://github.com/Tianxiaomo/pytorch-YOLOv4

8486de86c11f69099ee52dfd6c9fd237.png

77897647adf2be4318834d0afdea8c66.pngyolov3的检测效果

yolov3的检测效果

5d67165fe0ee60bc305dc60fdcaaba36.png

yolov4的检测效果

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值