ultralytics 8.0.136 refactor and simplify package (#3748)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
8ebe94d1e9
commit
620f3eb218
383 changed files with 4213 additions and 4646 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Ultralytics YOLO 🚀, AGPL-3.0 license
|
||||
import importlib
|
||||
import sys
|
||||
|
||||
from ultralytics.yolo.v8 import classify, detect, pose, segment
|
||||
from ultralytics.utils import LOGGER
|
||||
|
||||
__all__ = 'classify', 'segment', 'detect', 'pose'
|
||||
# Set modules in sys.modules under their old name
|
||||
sys.modules['ultralytics.yolo.v8'] = importlib.import_module('ultralytics.models.yolo')
|
||||
|
||||
LOGGER.warning("WARNING ⚠️ 'ultralytics.yolo.v8' is deprecated since '8.0.136' and will be removed in '8.1.0'. "
|
||||
"Please use 'ultralytics.models.yolo' instead.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue