当前位置:网站首页>Preliminary test yolov7
Preliminary test yolov7
2022-07-26 11:38:00 【shikong2011】
First try YOLOv7
Thesis download website :https://arxiv.org/pdf/2207.02696.pdf
1、 Web version demo
Huggingface Provides a web presentation demo. Sign in Yolov7 - a Hugging Face Space by akhaliq, It can be on the left img Click the box to select the picture , choice model by yolov7( You can also choose yolov7-e6) Click on Submit after , stay output You can see the output prediction results .
In addition to Example There's one down there horse Pictures of the , After clicking, you can also see the results in the output .

2、 Code runs

(1) install requirements.txt
pip install -r requirements.txt
(2) Download model
stay github page , There is a model download connection , Click directly to download , Of course, you can also download all the models at the same time , Put it in detect.py Same directory .

(3) function detect.py
Directly in pycharm Run or enter in the terminal :
python detect.py --weights yolov7.pt --conf 0.25 --img-size 640 --source inference/images/horses.jpg
Can be in runs\detect\exp3\horses.jpg See the prediction results .

(4) Train your own dataset
You can refer to the following article , I won't repeat .
【 Environment configuration 】 Hyperdetail ,YOLOV7 Train your own dataset :
https://www.pudn.com/news/62c92c865f75f3409e909b15.html
yolov7 From environment configuration to training your own data set AlexeyAB edition
https://blog.csdn.net/weixin_41868104/article/details/125663323
doubt 1: If you don't download the model , function detect.py Generally, models can be downloaded automatically , However, it is found that git Update model error prompt , The specific method is still under study , Netizens can help analyze .

边栏推荐
- Query summary of SQL Server
- 3dunity game project actual combat - aircraft war
- MySQL basic knowledge summary
- Scrapy IP agent is not responding
- ESP8266-Arduino编程实例-认识ESP8266
- 服务器内存故障预测居然可以这样做!
- Common library installation
- easyui04
- Programmer growth chapter 28: how can managers not do it by themselves?
- [vscode]如何远程连接服务器
猜你喜欢
![[error reported]exception: found duplicate column (s) in the data schema: `value`;](/img/df/ca676633ca6d5e8c0a870be0732707.png)
[error reported]exception: found duplicate column (s) in the data schema: `value`;

Caused by: scala. MatchError: None (of class scala.None$)

Real time streaming protocol --rtsp

复现php一句话木马

MySQL transaction details
![[idea]如何新建一个项目](/img/33/f210d59ccd3664487f401929dac24c.png)
[idea]如何新建一个项目

js使用WebUploader做大文件的分块和断点续传

PostgreSQL in Linux and windows installation and introductory basic tutorial

Data visualization - White Snake 2: black snake robbery (2)

Substance Painter 2021软件安装包下载及安装教程
随机推荐
Ten year structure five year life-06 impulse to leave
绝对路径打开文件相比数据库查询哪个更快?
SQL statement of SQL server creates database
产品无力销量下滑 上汽名爵还能否走出阴霾
[vscode] how to connect to the server remotely
正点原子stm32中hal库iic模拟`#define SDA_IN() {GPIOB->MODER&=~(3<<(9*2));GPIOB->MODER|=0<<9*2;}` //PB9 输入模式
Basic concepts of JVM and memory management model
702马力破百仅4.5秒!最强皮卡来袭,安全、舒适一个不落
程序员成长第二十八篇:管理者如何才能不亲力亲为?
Load orb dictionary
安科瑞余压监控系统在住宅小区的应用方案
Access rights - private, public, protected
Esp8266 Arduino programming example GPIO input and output
mysql数据库进阶
[reprint] the multivariate normal distribution
【转载】多元高斯分布(The Multivariate normal distribution)
Database composition trigger
数据中台建设(二):数据中台简单介绍
Application scheme of ankerui residual pressure monitoring system in residential quarter
[开发工具] IEDA报红