Comments (1)
和yolov3、ppyolov1 v2一样可以通过anchor聚类获得。但是默认anchor设置是在COCO大规模数据上聚类得到的,鲁棒性很高,图片较少时不建议重新聚类设置了,或者除非极端宽高比的数据集可能要设置下。
参考 docs/tutorials/data/PrepareDetDataSet.md
(可选)生成Anchor
在yolo系列模型中,大多数情况下使用默认的anchor设置即可, 你也可以运行tools/anchor_cluster.py
来得到适用于你的数据集Anchor,使用方法如下:
python tools/anchor_cluster.py -c configs/ppyolo/ppyolo.yml -n 9 -s 608 -m v2 -i 1000
目前tools/anchor_cluster.py
支持的主要参数配置如下表所示:
参数 | 用途 | 默认值 | 备注 |
---|---|---|---|
-c/--config | 模型的配置文件 | 无默认值 | 必须指定 |
-n/--n | 聚类的簇数 | 9 | Anchor的数目 |
-s/--size | 图片的输入尺寸 | None | 若指定,则使用指定的尺寸,如果不指定, 则尝试从配置文件中读取图片尺寸 |
-m/--method | 使用的Anchor聚类方法 | v2 | 目前只支持yolov2的聚类算法 |
-i/--iters | kmeans聚类算法的迭代次数 | 1000 | kmeans算法收敛或者达到迭代次数后终止 |
from paddleyolo.
Related Issues (20)
- 是否支持yolov8的实例分割训练和检测 HOT 1
- 目标检测:忽略某些模糊的目标 HOT 3
- yolov8训练好的模型如何在vc++生成的项目中调用? HOT 3
- 使用预训练的模型进行推理,有识别结果。基于预训练的模型训练Visdrone数据集后,使用训练后的模型进行推理,检测多张该数据集的图片,均无识别结果。 HOT 5
- 单机多卡,拉去gpu版本的docker,进行版本验证时只能使用单张gpu,已安装nccl 2.8.3 HOT 3
- 现在支持训练yolov8了吗? HOT 3
- Single-class yolov7 training hangs HOT 2
- ins_seg分支YOLOv5、v8和PPYOLOE seg目前支持训练了吗 HOT 3
- PaddleYolo训练时报错 HOT 4
- ppyoloe的8卡长训结果和官方对不齐 HOT 1
- yolov5无法复现PaddleYOLO官方结果 HOT 4
- 利好Paddle......yolov5,yolov8表示,只要你用了模型,包含ONNX模型,都必须要开源 HOT 1
- 模型保存时报错 HOT 3
- Export model for inference HOT 1
- ppyoloe_seg的实例分割模型下载链接失效了 HOT 2
- PPYoloe+在PaddleServing上部署报错segmentatioin fault HOT 1
- Tensorrt export failed HOT 1
- 关于检测和分割的多任务 HOT 1
- 有计划整合YOLOv9吗? HOT 2
- rtdetr评估报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddleyolo.