主要的差别在于模型的深度和宽度,理论上x的检测性能是最好的,参数量最大也是最慢的。
具体体现在 models/yolov5x.yaml ,models/yolov5x.yaml…文件的depth_multiple、width_multiple参数中。
比较如下(yolov5 6.0版本):
型号 | depth_multiple | width_multiple |
---|---|---|
n | 0.33 | 0.25 |
s | 0.33 | 0.50 |
m | 0.67 | 0.75 |
l | 1 | 1 |
x | 1.33 | 1.25 |
主要的差别在于模型的深度和宽度,理论上x的检测性能是最好的,参数量最大也是最慢的。
具体体现在 models/yolov5x.yaml ,models/yolov5x.yaml…文件的depth_multiple、width_multiple参数中。
比较如下(yolov5 6.0版本):
型号 | depth_multiple | width_multiple |
---|---|---|
n | 0.33 | 0.25 |
s | 0.33 | 0.50 |
m | 0.67 | 0.75 |
l | 1 | 1 |
x | 1.33 | 1.25 |