forked from ultralytics/ultralytics
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ultralytics 8.2.35
add YOLOv9t/s/m models (ultralytics#13504)
Co-authored-by: UltralyticsAssistant <[email protected]> Co-authored-by: Glenn Jocher <[email protected]>
- Loading branch information
1 parent
605e7f4
commit 8ea945c
Showing
10 changed files
with
168 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Ultralytics YOLO 🚀, AGPL-3.0 license | ||
|
||
__version__ = "8.2.34" | ||
__version__ = "8.2.35" | ||
|
||
import os | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Ultralytics YOLO 🚀, AGPL-3.0 license | ||
# YOLOv9t | ||
# 603 layers, 20216160 parameters, 77.9 GFLOPs | ||
|
||
# parameters | ||
nc: 80 # number of classes | ||
|
||
# gelan backbone | ||
backbone: | ||
- [-1, 1, Conv, [32, 3, 2]] # 0-P1/2 | ||
- [-1, 1, Conv, [64, 3, 2]] # 1-P2/4 | ||
- [-1, 1, RepNCSPELAN4, [128, 128, 64, 1]] # 2 | ||
- [-1, 1, AConv, [240]] # 3-P3/8 | ||
- [-1, 1, RepNCSPELAN4, [240, 240, 120, 1]] # 4 | ||
- [-1, 1, AConv, [360]] # 5-P4/16 | ||
- [-1, 1, RepNCSPELAN4, [360, 360, 180, 1]] # 6 | ||
- [-1, 1, AConv, [480]] # 7-P5/32 | ||
- [-1, 1, RepNCSPELAN4, [480, 480, 240, 1]] # 8 | ||
- [-1, 1, SPPELAN, [480, 240]] # 9 | ||
|
||
head: | ||
- [-1, 1, nn.Upsample, [None, 2, "nearest"]] | ||
- [[-1, 6], 1, Concat, [1]] # cat backbone P4 | ||
- [-1, 1, RepNCSPELAN4, [360, 360, 180, 1]] # 12 | ||
|
||
- [-1, 1, nn.Upsample, [None, 2, "nearest"]] | ||
- [[-1, 4], 1, Concat, [1]] # cat backbone P3 | ||
- [-1, 1, RepNCSPELAN4, [240, 240, 120, 1]] # 15 | ||
|
||
- [-1, 1, AConv, [180]] | ||
- [[-1, 12], 1, Concat, [1]] # cat head P4 | ||
- [-1, 1, RepNCSPELAN4, [360, 360, 180, 1]] # 18 (P4/16-medium) | ||
|
||
- [-1, 1, AConv, [240]] | ||
- [[-1, 9], 1, Concat, [1]] # cat head P5 | ||
- [-1, 1, RepNCSPELAN4, [480, 480, 240, 1]] # 21 (P5/32-large) | ||
|
||
- [[15, 18, 21], 1, Detect, [nc]] # Detect(P3, P4, P5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Ultralytics YOLO 🚀, AGPL-3.0 license | ||
# YOLOv9s | ||
# 917 layers, 7318368 parameters, 27.6 GFLOPs | ||
|
||
# parameters | ||
nc: 80 # number of classes | ||
|
||
# gelan backbone | ||
backbone: | ||
- [-1, 1, Conv, [32, 3, 2]] # 0-P1/2 | ||
- [-1, 1, Conv, [64, 3, 2]] # 1-P2/4 | ||
- [-1, 1, ELAN1, [64, 64, 32]] # 2 | ||
- [-1, 1, AConv, [128]] # 3-P3/8 | ||
- [-1, 1, RepNCSPELAN4, [128, 128, 64, 3]] # 4 | ||
- [-1, 1, AConv, [192]] # 5-P4/16 | ||
- [-1, 1, RepNCSPELAN4, [192, 192, 96, 3]] # 6 | ||
- [-1, 1, AConv, [256]] # 7-P5/32 | ||
- [-1, 1, RepNCSPELAN4, [256, 256, 128, 3]] # 8 | ||
- [-1, 1, SPPELAN, [256, 128]] # 9 | ||
|
||
head: | ||
- [-1, 1, nn.Upsample, [None, 2, "nearest"]] | ||
- [[-1, 6], 1, Concat, [1]] # cat backbone P4 | ||
- [-1, 1, RepNCSPELAN4, [192, 192, 96, 3]] # 12 | ||
|
||
- [-1, 1, nn.Upsample, [None, 2, "nearest"]] | ||
- [[-1, 4], 1, Concat, [1]] # cat backbone P3 | ||
- [-1, 1, RepNCSPELAN4, [128, 128, 64, 3]] # 15 | ||
|
||
- [-1, 1, AConv, [96]] | ||
- [[-1, 12], 1, Concat, [1]] # cat head P4 | ||
- [-1, 1, RepNCSPELAN4, [192, 192, 96, 3]] # 18 (P4/16-medium) | ||
|
||
- [-1, 1, AConv, [128]] | ||
- [[-1, 9], 1, Concat, [1]] # cat head P5 | ||
- [-1, 1, RepNCSPELAN4, [256, 256, 128, 3]] # 21 (P5/32-large) | ||
|
||
- [[15, 18, 21], 1, Detect, [nc]] # Detect(P3, P4 P5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Ultralytics YOLO 🚀, AGPL-3.0 license | ||
# YOLOv9t | ||
# 917 layers, 2128720 parameters, 8.5 GFLOPs | ||
|
||
# parameters | ||
nc: 80 # number of classes | ||
|
||
# gelan backbone | ||
backbone: | ||
- [-1, 1, Conv, [16, 3, 2]] # 0-P1/2 | ||
- [-1, 1, Conv, [32, 3, 2]] # 1-P2/4 | ||
- [-1, 1, ELAN1, [32, 32, 16]] # 2 | ||
- [-1, 1, AConv, [64]] # 3-P3/8 | ||
- [-1, 1, RepNCSPELAN4, [64, 64, 32, 3]] # 4 | ||
- [-1, 1, AConv, [96]] # 5-P4/16 | ||
- [-1, 1, RepNCSPELAN4, [96, 96, 48, 3]] # 6 | ||
- [-1, 1, AConv, [128]] # 7-P5/32 | ||
- [-1, 1, RepNCSPELAN4, [128, 128, 64, 3]] # 8 | ||
- [-1, 1, SPPELAN, [128, 64]] # 9 | ||
|
||
head: | ||
- [-1, 1, nn.Upsample, [None, 2, "nearest"]] | ||
- [[-1, 6], 1, Concat, [1]] # cat backbone P4 | ||
- [-1, 1, RepNCSPELAN4, [96, 96, 48, 3]] # 12 | ||
|
||
- [-1, 1, nn.Upsample, [None, 2, "nearest"]] | ||
- [[-1, 4], 1, Concat, [1]] # cat backbone P3 | ||
- [-1, 1, RepNCSPELAN4, [64, 64, 32, 3]] # 15 | ||
|
||
- [-1, 1, AConv, [48]] | ||
- [[-1, 12], 1, Concat, [1]] # cat head P4 | ||
- [-1, 1, RepNCSPELAN4, [96, 96, 48, 3]] # 18 (P4/16-medium) | ||
|
||
- [-1, 1, AConv, [64]] | ||
- [[-1, 9], 1, Concat, [1]] # cat head P5 | ||
- [-1, 1, RepNCSPELAN4, [128, 128, 64, 3]] # 21 (P5/32-large) | ||
|
||
- [[15, 18, 21], 1, Detect, [nc]] # Detect(P3, P4, P5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters