当前位置:网站首页>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 .

边栏推荐
- [idea]如何新建一个项目
- "Mongodb" mongodb high availability deployment architecture - replica set
- 『MongoDB』MongoDB高可用部署架构——复制集篇(Replica Set)
- 脉冲波形的产生与变换
- MLX90640 红外热成像仪测温传感器模块开发笔记(六)
- Esp8266 Arduino programming example GPIO input and output
- 常用库安装
- Three properties of concurrency
- On vio's IMU pre integration (the idea when I first started)
- Pyqt5 rapid development and practice 3.1 QT designer quick start
猜你喜欢

记录个人遇到的错误

PostgreSQL在Linux和Windows安装和入门基础教程

MongoDB-使用$type查询某个字段的类型是否为xxx

Meiker Studio - Huawei 14 day Hongmeng equipment development practical notes 8

MLX90640 红外热成像仪测温传感器模块开发笔记(六)

Cmake常用命令总结

4.1 配置Mysql与注册登录模块

元宇宙GameFi链游系统开发NFT技术

Record errors encountered by individuals

Can SAIC mingjue get out of the haze if its products are unable to sell and decline
随机推荐
LeetCode / Scala - 两数,三数,四数,N数之和
Pyechart离线部署
Getting started step by step using g2o to solve ICP problems - estimating the transformation relationship between two sets of 3D point sets with matching relationship
Reproduce PHP one sentence Trojan horse
Wechat applet - Advanced chapter Lin UI component library source code analysis button component (I)
Caused by: scala. MatchError: None (of class scala.None$)
What does it mean that the configuration file ends in RC
正点原子stm32中hal库iic模拟`#define SDA_IN() {GPIOB->MODER&=~(3<<(9*2));GPIOB->MODER|=0<<9*2;}` //PB9 输入模式
Hal library IIC simulation in punctual atom STM32 `define SDA_ IN() {GPIOB->MODER&=~(3<<(9*2));GPIOB->MODER|=0<<9*2;}` // PB9 input mode
社区点赞业务缓存设计优化探索
[开发工具] IEDA报红
初试YOLOv7
Harbor2.2 用户角色权限速查
Load orb dictionary
数据数据湖(十九):SQL API 读取Kafka数据实时写入Iceberg表
Caused by: scala.MatchError: None (of class scala.None$)
MLX90640 红外热成像仪测温传感器模块开发笔记(六)
Mongodb - use $type to query whether the type of a field is XXX
Substance Painter 2021软件安装包下载及安装教程
3.2 创建菜单与游戏页面(下)