ultralytics 8.1.39 add YOLO-World training (#9268)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
18036908d4
commit
e9187c1296
34 changed files with 2166 additions and 100 deletions
|
|
@ -157,7 +157,7 @@ class v8DetectionLoss:
|
|||
self.hyp = h
|
||||
self.stride = m.stride # model strides
|
||||
self.nc = m.nc # number of classes
|
||||
self.no = m.no
|
||||
self.no = m.nc + m.reg_max * 4
|
||||
self.reg_max = m.reg_max
|
||||
self.device = device
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue