Table 2 Comparison of the performance metrics for the four pretrained models.

From: A real-time rural domestic garbage detection algorithm with an improved YOLOv5s network model

Model

Precision (%)

Recall (%)

mAP@0.5 (%)

Inference time (ms)

Model size (MB)

YOLOv5s

91

88.1

91.8

19.8

14.4

YOLOv5m

94

93.9

96

70.1

42.8

YOLOv5l

92.7

90.4

92.9

122.9

89.4

YOLOv5x

90.3

86.6

91.9

306.1

169.5