|
|
|
|
|
|
|
nc: 80 |
|
depth_multiple: 1.0 |
|
width_multiple: 1.0 |
|
|
|
|
|
|
|
|
|
anchors: 3 |
|
|
|
|
|
backbone: |
|
[ |
|
|
|
[-1, 1, Conv, [64, 3, 2]], |
|
|
|
|
|
[-1, 1, Conv, [128, 3, 2]], |
|
|
|
|
|
[-1, 1, RepNCSPELAN4, [256, 128, 64, 1]], |
|
|
|
|
|
[-1, 1, Conv, [256, 3, 2]], |
|
|
|
|
|
[-1, 1, RepNCSPELAN4, [512, 256, 128, 1]], |
|
|
|
|
|
[-1, 1, Conv, [512, 3, 2]], |
|
|
|
|
|
[-1, 1, RepNCSPELAN4, [512, 512, 256, 1]], |
|
|
|
|
|
[-1, 1, Conv, [512, 3, 2]], |
|
|
|
|
|
[-1, 1, RepNCSPELAN4, [512, 512, 256, 1]], |
|
] |
|
|
|
|
|
head: |
|
[ |
|
|
|
[-1, 1, SPPELAN, [512, 256]], |
|
|
|
|
|
[-1, 1, nn.Upsample, [None, 2, 'nearest']], |
|
[[-1, 6], 1, Concat, [1]], |
|
|
|
|
|
[-1, 1, RepNCSPELAN4, [512, 512, 256, 1]], |
|
|
|
|
|
[-1, 1, nn.Upsample, [None, 2, 'nearest']], |
|
[[-1, 4], 1, Concat, [1]], |
|
|
|
|
|
[-1, 1, RepNCSPELAN4, [256, 256, 128, 1]], |
|
|
|
|
|
[-1, 1, Conv, [256, 3, 2]], |
|
[[-1, 12], 1, Concat, [1]], |
|
|
|
|
|
[-1, 1, RepNCSPELAN4, [512, 512, 256, 1]], |
|
|
|
|
|
[-1, 1, Conv, [512, 3, 2]], |
|
[[-1, 9], 1, Concat, [1]], |
|
|
|
|
|
[-1, 1, RepNCSPELAN4, [512, 512, 256, 1]], |
|
|
|
|
|
[[15, 18, 21], 1, DDetect, [nc]], |
|
] |
|
|