Research Article

Detection of Surface Defects of Magnetic Tiles Based on Improved YOLOv5

Table 4

Ablation experiments.

Model (%) (%)mAP@0.5 (%)

YOLOv5s95.3596.5395.35
YOLOv5s+adding layer97.4097.8299.36
YOLOv5s+loss function96.7795.4898.47
YOLOv5s+CBAM98.1397.6099.12
Proposed algorithm98.5698.1499.49