当前位置:网站首页>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环境自行学习。
边栏推荐
- FPGA blocking assignment and non blocking assignment
- Zzuli: sum of 1051 square roots
- 洛谷P5018 [NOIP2018 普及组] 对称二叉树 题解
- Stop asking yourself if you are suitable for software testing
- Table of mathematical constants by q779
- Sendmail can't send mail and it's too slow to send. Solve it
- Bibit pharmaceutical rushed to the scientific innovation board: annual revenue of 970000, loss of 137million, proposed to raise 2billion
- NOI OPENJUDGE 1.4(15)
- ZABBIX saves the page blank after adding calculated items
- C language memory function
猜你喜欢

Happy capital new dual currency fund nearly 4billion yuan completed its first account closing

retrofit

Understand the application scenario and implementation mechanism of differential segment

My QT learning path -- how qdatetimeedit is empty

Use of constraintlayout

puzzle(016.4)多米诺效应

Tonybot humanoid robot infrared remote control play 0630

tonybot 人形机器人 首次开机 0630

Zzuli:1053 sine function

Protobuf and grpc
随机推荐
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?
天谋科技 Timecho 完成近亿元人民币天使轮融资,打造工业物联网原生时序数据库
On MEM series functions of C language
洛谷P5194 [USACO05DEC]Scales S 题解
洛谷P5018 [NOIP2018 普及组] 对称二叉树 题解
Tiantu investment sprint Hong Kong stocks: asset management scale of 24.9 billion, invested in xiaohongshu and Naixue
NPM install is stuck with various strange errors of node NPY
Zzuli:1047 logarithmic table
Sub GHz wireless solution Z-Wave 800 Series zg23 SOC and zgm230s modules
556. The next larger element III: simple construction simulation questions
dllexport和dllimport
tonybot 人形机器人 定距移动 代码编写玩法
tonybot 人形机器人 红外遥控玩法 0630
Tonybot humanoid robot checks the port and corresponds to port 0701
ZABBIX saves the page blank after adding calculated items
MySQL multi table query subquery
Zzuli:1059 highest score
Zzuli:1054 monkeys eat peaches
洛谷P3065 [USACO12DEC]First! G 题解
Zzuli:1040 sum of sequence 1