Table 4 Parameter comparison between YOLOv7-Tiny and DGS-YOLOv7-Tiny.

From: DGS-Yolov7-Tiny: a lightweight pest and disease target detection model suitable for edge computing environments

YOLOv7-Tiny

Params

DGS-YOLOv7-Tiny

Params

CBL [3,32,3,2]

928

CBS [3,32,3,2]

928

CBL [32,64,3,2]

18,560

CBS [32,64,3,2]

18,560

ELAN [64,64,1or3,1]

31,104

ELAN [64,64,1or3,1]

31,104

MP [64,64,2,2]

0

MP [64,64,2,2]

0

ELAN [64,128,1or3,1]

115,456

DGS-ELAN [64,128,1or3,1]

52,808

MP [128,128,2,2]

0

MP [128,128,2,2]

0

ELAN [128,256,1or3,1]

460,288

DGS-ELAN [128,256,1or3,1]

205,968

MP [256,256,2,2]

0

MP [256,256,2,2]

0

ELAN [256,512,1or3,1]

1,838,080

DGS-ELAN [256,512,1or3,1]

813,344

SPPCSP [512,256,1,1]

657,408

SPPCSP [512,256,1,1]

657,408

CBL [256,128,1,1] + Upsample

33,024

CBS [256,128,1,1] + Upsample

33,024

Global Attention [256]

8192

CBL [128,64,1,1] + Concat

33,024

CBS [128,64,1,1] + Concat

33,024

ELAN [256,128,1or3,1]

140,032

DGS-ELAN [256,128,1or3,1]

77,384

CBL [128,64,1,1] + Upsample

8320

CBS [128,64,1,1] + Upsample

8320

Global Attention [128]

2048

CBL [128,64,1,1] + Concat

8320

CBS [128,64,1,1] + Concat

8320

ELAN [128,64,1or3,1]

35,200

DGS-ELAN [128,64,1or3,1]

20,004

Global Attention [64]

512

CBL [64,128,3,2] + Concat

73,984

CBS [64,128,3,2] + Concat

73,984

ELAN [256,128,1or3,1]

140,032

DGS-ELAN [256,128,1or3,1]

77,384

Global Attention [128]

2048

CBL [128,256,3,2] + Concat

295,424

CBS [128,256,3,2] + Concat

295,424

ELAN [512,256,1or3,1]

558,592

DGS-ELAN [512,256,1or3,1]

172,688

Global Attention [256]

8192

CBL [64,128,3,1]

73,984

CBS [64,128,3,1]

73,984

CBL [128,256,3,1]

295,424

CBS [128,256,3,1]

295,424

CBL [256,512,3,1]

1,180,672

CBS [256,512,3,1]

1,180,672

Detect

36,074

Detect

36,074