update
This commit is contained in:
10
ytracking/ultralytics/yolo/engine/__init__.py
Normal file
10
ytracking/ultralytics/yolo/engine/__init__.py
Normal file
@ -0,0 +1,10 @@
|
||||
import importlib
|
||||
import sys
|
||||
|
||||
from ultralytics.utils import LOGGER
|
||||
|
||||
# Set modules in sys.modules under their old name
|
||||
sys.modules['ultralytics.yolo.engine'] = importlib.import_module('ultralytics.engine')
|
||||
|
||||
LOGGER.warning("WARNING ⚠️ 'ultralytics.yolo.engine' is deprecated since '8.0.136' and will be removed in '8.1.0'. "
|
||||
"Please use 'ultralytics.engine' instead.")
|
Reference in New Issue
Block a user