当前位置:网站首页>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环境自行学习。
边栏推荐
- Special research report on the market of lithium battery electrolyte industry in China (2022 Edition)
- Creation of data table of Doris' learning notes
- Niuke bm83 string deformation (case conversion, string inversion, string replacement)
- Paper sharing: generating playful palettes from images
- Zzuli:1049 square sum and cubic sum
- tonybot 人形机器人 定距移动 代码编写玩法
- C language memory function
- Frequently asked questions: PHP LDAP_ add(): Add: Undefined attribute type in
- Zzuli:1056 lucky numbers
- Time conversion ()
猜你喜欢
dllexport和dllimport
Tailing rushes to the scientific and Technological Innovation Board: it plans to raise 1.3 billion, and Xiaomi Changjiang is the shareholder
亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?
Bucket sorting in C language
如何查询淘宝天猫的宝贝类目
分布式事务(Seata) 四大模式详解
Happy capital new dual currency fund nearly 4billion yuan completed its first account closing
NPM install is stuck with various strange errors of node NPY
Protobuf and grpc
puzzle(016.4)多米诺效应
随机推荐
C language memory function
The latest M1 dedicated Au update Adobe audit CC 2021 Chinese direct installation version has solved the problems of M1 installation without flash back!
Luogu p5536 [xr-3] core city solution
NOI OPENJUDGE 1.5(23)
Table of mathematical constants by q779
retrofit
NPM install is stuck with various strange errors of node NPY
Container of symfony
Zzuli:1048 factorial table
Sendmail can't send mail and it's too slow to send. Solve it
Tonybot humanoid robot infrared remote control play 0630
Get permissions dynamically
Showmebug entered Tencent conference, opening the era of professional technical interview
Ultra simple mobile map development
Zhonggan micro sprint technology innovation board: annual revenue of 240million, net loss of 17.82 million, proposed to raise 600million
C language DUP function
7-3 count the number of words in a line of text
【7.3】146. LRU caching mechanism
Awvs batch operation script
Add ZABBIX calculation type itemcalculated items