Clean up unused Silence module (#13674)

This commit is contained in:
Laughing 2024-06-17 21:18:19 +08:00 committed by GitHub
parent 6227d8f8a1
commit 605e7f4f52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 5 deletions

View file

@ -47,7 +47,6 @@ from ultralytics.nn.modules import (
ResNetLayer,
RTDETRDecoder,
Segment,
Silence, # noqa (equivalent to nn.Identity, unused in file but required to load YOLOv9 models)
WorldDetect,
)
from ultralytics.utils import DEFAULT_CFG_DICT, DEFAULT_CFG_KEYS, LOGGER, colorstr, emojis, yaml_load