PANet anchor order correction (#1420)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2020-11-17 10:13:00 +01:00
1 parent 311de00855
commit 97c6a59dd1
1 file changed
+3 -3
+3 -3
View File
@@ -5,9 +5,9 @@ width_multiple: 1.0 # layer channel multiple
# anchors # anchors
anchors: anchors:
- [116,90, 156,198, 373,326] # P5/32
- [30,61, 62,45, 59,119] # P4/16
- [10,13, 16,30, 33,23] # P3/8 - [10,13, 16,30, 33,23] # P3/8
- [30,61, 62,45, 59,119] # P4/16
- [116,90, 156,198, 373,326] # P5/32
# YOLOv5 backbone # YOLOv5 backbone
backbone: backbone:
@@ -44,5 +44,5 @@ head:
[[-1, 10], 1, Concat, [1]], # cat head P5 [[-1, 10], 1, Concat, [1]], # cat head P5
[-1, 3, BottleneckCSP, [1024, False]], # 23 (P5/32-large) [-1, 3, BottleneckCSP, [1024, False]], # 23 (P5/32-large)
[[17, 20, 23], 1, Detect, [nc, anchors]], # Detect(P5, P4, P3) [[17, 20, 23], 1, Detect, [nc, anchors]], # Detect(P3, P4, P5)
] ]