当前位置:网站首页>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环境自行学习。
边栏推荐
- retrofit
- Déformation de la chaîne bm83 de niuke (conversion de cas, inversion de chaîne, remplacement de chaîne)
- Tonybot Humanoïde Robot Infrared Remote play 0630
- Puzzle (016.3) is inextricably linked
- Zzuli: cumulative sum of 1050 factorials
- 7-10 stack of hats (25 points) (C language solution)
- Joomla! CMS 3.0~3.4.6 RCE
- Puzzle (016.4) domino effect
- Paper sharing: generating playful palettes from images
- The mail function of LNMP environment cannot send mail
猜你喜欢

Implement Gobang with C language

Adc128s022 ADC Verilog design and Implementation

C language to realize mine sweeping

The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%

ConstraintLayout 的使用

C language DUP function

Tiantu investment sprint Hong Kong stocks: asset management scale of 24.9 billion, invested in xiaohongshu and Naixue

The latest M1 dedicated Au update Adobe audit CC 2021 Chinese direct installation version has solved the problems of M1 installation without flash back!

亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?

Tonybot humanoid robot starts for the first time 0630
随机推荐
Niuke: crossing the river
Code writing and playing method of tonybot humanoid robot at fixed distance
7-3 count the number of words in a line of text
【7.3】146. LRU caching mechanism
Zzuli:1042 sum of sequence 3
Zzuli:1047 logarithmic table
Awvs batch operation script
C language fcntl function
Zhejiang University Edition "C language programming (4th Edition)" topic set reference ideas set
dllexport和dllimport
Add ZABBIX calculation type itemcalculated items
天谋科技 Timecho 完成近亿元人民币天使轮融资,打造工业物联网原生时序数据库
C language STR function
Zzuli:1059 highest score
关于敏捷的一些概念
Time conversion ()
Qt—绘制其他东西
556. The next larger element III: simple construction simulation questions
Déformation de la chaîne bm83 de niuke (conversion de cas, inversion de chaîne, remplacement de chaîne)
Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial