当前位置:网站首页>Yolov5进阶之七目标追踪最新环境搭建(二)
Yolov5进阶之七目标追踪最新环境搭建(二)
2022-07-03 14:43:00 【宇称不守恒4.0】
前面已经介绍了deepsort最新环境搭建的过程,本节在使用github另外的源码建立目标追踪环境,本节提供了从Google Drive 下载的crowd_human.pt来作为识别的权重文件,同时实现用class 来限制识别的类别,实现某种类别的追踪。具体流程如下:
https://github.com/ynlx/Yolov5_DeepSort
这是gihub上另一个yolov5_DeepSort版本,是在mike版本上微调的版本,使用起来比较方便,tag 图标对应 3.0-5.0 版本,但注意最新版本执行时仍要翻墙。建立环境和requirements过程不在赘述,可以参考Yolov5进阶之七目标追踪最新环境搭建。使用Yolov5_DeepSort5.0版,yolov5 使用6.1.
如果提示No module named ‘yolov5.utils.downloads’ 就是yolov5版本太低,低版本yolov5 utils里没有 downloads 文件夹。
安装好后执行
python track.py --source 0
在下载完 pt 模型后会提示超时失败。
科学上网后,链接上pt文件后 成功,测试分类追踪
python track.py --source 0 --yolo_model yolov5s.pt --classes 16 17
摄像头会捕捉 yolov5 中的16 17 类就是猫和狗,科学上网后成功。继续测试人群追踪
python track.py --source 0 --yolo_model yolov5/crowdhuman_yolov5m.pt --classes 0
这个crowdhuman_yolov5m.pt 是从 google drive上下载的,应该是yolo6.0以后版本的。下载地址为https://download.csdn.net/download/buaaweibin/85853856
所以要避免科学上网要使用ds3.0+ YOLO5.0 版本,权重文件需要yolo5.0环境自行学习。
边栏推荐
- Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution
- Niuke: crossing the river
- Address book sorting
- NPM install is stuck with various strange errors of node NPY
- Dllexport et dllimport
- MySQL multi table query subquery
- adc128s022 ADC verilog设计实现
- Zzuli:1043 max
- 数学常数表 by q779
- retrofit
猜你喜欢

Understand the application scenario and implementation mechanism of differential segment

pyQt界面制作(登录+跳转页面)

My QT learning path -- how qdatetimeedit is empty

retrofit

Timecho of Tianmou technology completed an angel round financing of nearly 100 million yuan to create a native timing database of the industrial Internet of things

dllexport和dllimport
![洛谷P4047 [JSOI2010]部落划分 题解](/img/7f/3fab3e94abef3da1f5652db35361df.png)
洛谷P4047 [JSOI2010]部落划分 题解

Tonybot Humanoïde Robot Infrared Remote play 0630

Analysis of gene family characteristics - chromosome location analysis

Creation of data table of Doris' learning notes
随机推荐
Doris学习笔记之数据表的创建
Address book sorting
MySQL multi table query subquery
Zhejiang University Edition "C language programming (4th Edition)" topic set reference ideas set
关于敏捷的一些概念
Piwigo 2.7.1 sqli learning
Thread. Sleep and timeunit SECONDS. The difference between sleep
7-9 one way in, two ways out (25 points)
Zzuli:1055 rabbit reproduction
[opengl] bone animation blending effect
556. The next larger element III
retrofit
Adc128s022 ADC Verilog design and Implementation
Qt development - scrolling digital selector commonly used in embedded system
Zzuli:1045 numerical statistics
7-10 stack of hats (25 points) (C language solution)
Tonybot humanoid robot starts for the first time 0630
Bucket sorting in C language
Why is this error reported when modifying records in the database
SSH access control, blocking the IP when logging in repeatedly to prevent brute force cracking