ultralytics 8.1.44 add IS_RASPBERRYPI and constants refactor (#9827)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
3f34a7c3af
commit
7d891a4aa4
43 changed files with 146 additions and 141 deletions
|
|
@ -35,4 +35,4 @@ head:
|
|||
- [[-1, 9], 1, Concat, [1]] # cat head P5
|
||||
- [-1, 1, RepNCSPELAN4, [512, 512, 256, 1]] # 21 (P5/32-large)
|
||||
|
||||
- [[15, 18, 21], 1, Segment, [nc, 32, 256]] # Segment(P3, P4, P5)
|
||||
- [[15, 18, 21], 1, Segment, [nc, 32, 256]] # Segment(P3, P4, P5)
|
||||
|
|
|
|||
|
|
@ -35,4 +35,4 @@ head:
|
|||
- [[-1, 9], 1, Concat, [1]] # cat head P5
|
||||
- [-1, 1, RepNCSPELAN4, [512, 512, 256, 1]] # 21 (P5/32-large)
|
||||
|
||||
- [[15, 18, 21], 1, Detect, [nc]] # DDetect(P3, P4, P5)
|
||||
- [[15, 18, 21], 1, Detect, [nc]] # Detect(P3, P4, P5)
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@ backbone:
|
|||
- [-1, 1, RepNCSPELAN4, [1024, 512, 256, 2]] # 7
|
||||
- [-1, 1, ADown, [1024]] # 8-P5/32
|
||||
- [-1, 1, RepNCSPELAN4, [1024, 512, 256, 2]] # 9
|
||||
|
||||
|
||||
- [1, 1, CBLinear, [[64]]] # 10
|
||||
- [3, 1, CBLinear, [[64, 128]]] # 11
|
||||
- [5, 1, CBLinear, [[64, 128, 256]]] # 12
|
||||
- [7, 1, CBLinear, [[64, 128, 256, 512]]] # 13
|
||||
- [9, 1, CBLinear, [[64, 128, 256, 512, 1024]]] # 14
|
||||
|
||||
|
||||
- [0, 1, Conv, [64, 3, 2]] # 15-P1/2
|
||||
- [[10, 11, 12, 13, 14, -1], 1, CBFuse, [[0, 0, 0, 0, 0]]] # 16
|
||||
- [-1, 1, Conv, [128, 3, 2]] # 17-P2/4
|
||||
|
|
@ -58,5 +58,4 @@ head:
|
|||
- [[-1, 29], 1, Concat, [1]] # cat head P5
|
||||
- [-1, 1, RepNCSPELAN4, [512, 1024, 512, 2]] # 41 (P5/32-large)
|
||||
|
||||
# segment
|
||||
- [[35, 38, 41], 1, Segment, [nc, 32, 256]] # Segment (P3, P4, P5)
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@ backbone:
|
|||
- [-1, 1, RepNCSPELAN4, [1024, 512, 256, 2]] # 7
|
||||
- [-1, 1, ADown, [1024]] # 8-P5/32
|
||||
- [-1, 1, RepNCSPELAN4, [1024, 512, 256, 2]] # 9
|
||||
|
||||
|
||||
- [1, 1, CBLinear, [[64]]] # 10
|
||||
- [3, 1, CBLinear, [[64, 128]]] # 11
|
||||
- [5, 1, CBLinear, [[64, 128, 256]]] # 12
|
||||
- [7, 1, CBLinear, [[64, 128, 256, 512]]] # 13
|
||||
- [9, 1, CBLinear, [[64, 128, 256, 512, 1024]]] # 14
|
||||
|
||||
|
||||
- [0, 1, Conv, [64, 3, 2]] # 15-P1/2
|
||||
- [[10, 11, 12, 13, 14, -1], 1, CBFuse, [[0, 0, 0, 0, 0]]] # 16
|
||||
- [-1, 1, Conv, [128, 3, 2]] # 17-P2/4
|
||||
|
|
@ -58,5 +58,4 @@ head:
|
|||
- [[-1, 29], 1, Concat, [1]] # cat head P5
|
||||
- [-1, 1, RepNCSPELAN4, [512, 1024, 512, 2]] # 41 (P5/32-large)
|
||||
|
||||
# detect
|
||||
- [[35, 38, 41], 1, Detect, [nc]] # Detect(P3, P4, P5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue