ultralytics 8.3.71 require explicit torch.nn usage (#19067)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: RizwanMunawar <chr043416@gmail.com>
Co-authored-by: Muhammad Rizwan Munawar <muhammadrizwanmunawar123@gmail.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2025-02-05 01:08:17 +09:00 committed by GitHub
parent 17450e9646
commit 5bca9341e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 50 additions and 51 deletions

View file

@ -6,7 +6,7 @@
# Parameters
nc: 80 # number of classes
activation: nn.ReLU() # (optional) model default activation function
activation: torch.nn.ReLU() # (optional) model default activation function
scales: # model compound scaling constants, i.e. 'model=yolov6n.yaml' will call yolov8.yaml with scale 'n'
# [depth, width, max_channels]
n: [0.33, 0.25, 1024]