Fix Docs pretty __init__.py URLs (#14550)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
0d059bec0c
commit
b3b3a15086
16 changed files with 49 additions and 22 deletions
|
|
@ -930,6 +930,8 @@ class PSA(nn.Module):
|
|||
|
||||
|
||||
class SCDown(nn.Module):
|
||||
"""Spatial Channel Downsample (SCDown) module for reducing spatial and channel dimensions."""
|
||||
|
||||
def __init__(self, c1, c2, k, s):
|
||||
"""
|
||||
Spatial Channel Downsample (SCDown) module.
|
||||
|
|
|
|||
|
|
@ -281,6 +281,8 @@ class Classify(nn.Module):
|
|||
|
||||
|
||||
class WorldDetect(Detect):
|
||||
"""Head for integrating YOLOv8 detection models with semantic understanding from text embeddings."""
|
||||
|
||||
def __init__(self, nc=80, embed=512, with_bn=False, ch=()):
|
||||
"""Initialize YOLOv8 detection layer with nc classes and layer channels ch."""
|
||||
super().__init__(nc, ch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue