diff --git a/requirements.txt b/requirements.txt index 069cafe7e14f..a49036b39d16 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ thop>=0.1.1 # FLOPs computation torch>=1.7.0 # see https://pytorch.org/get-started/locally (recommended) torchvision>=0.8.1 tqdm>=4.64.0 -ultralytics>=8.0.111 +ultralytics>=8.0.145 # protobuf<=3.20.1 # https://github.com/ultralytics/yolov5/issues/8012 # Logging --------------------------------------------------------------------- diff --git a/utils/__init__.py b/utils/__init__.py index 2a7652b52c1b..4c7379c87466 100644 --- a/utils/__init__.py +++ b/utils/__init__.py @@ -54,7 +54,7 @@ def notebook_init(verbose=True): import os import shutil - from ultralytics.yolo.utils.checks import check_requirements + from ultralytics.utils.checks import check_requirements from utils.general import check_font, is_colab from utils.torch_utils import select_device # imports diff --git a/utils/general.py b/utils/general.py index 049e5f6be414..8a265c741b91 100644 --- a/utils/general.py +++ b/utils/general.py @@ -35,7 +35,7 @@ import torch import torchvision import yaml -from ultralytics.yolo.utils.checks import check_requirements +from ultralytics.utils.checks import check_requirements from utils import TryExcept, emojis from utils.downloads import curl_download, gsutil_getsize