From 4198570a4ba98351107527142d85125eb8d0039f Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 3 Apr 2023 03:01:16 +0200 Subject: [PATCH] HUB CI fix (#1776) --- ultralytics/__init__.py | 2 +- ultralytics/yolo/engine/model.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ultralytics/__init__.py b/ultralytics/__init__.py index dc7a2c9..53e0961 100644 --- a/ultralytics/__init__.py +++ b/ultralytics/__init__.py @@ -1,6 +1,6 @@ # Ultralytics YOLO 🚀, GPL-3.0 license -__version__ = '8.0.60' +__version__ = '8.0.61' from ultralytics.hub import start from ultralytics.yolo.engine.model import YOLO diff --git a/ultralytics/yolo/engine/model.py b/ultralytics/yolo/engine/model.py index cfe537e..5c47726 100644 --- a/ultralytics/yolo/engine/model.py +++ b/ultralytics/yolo/engine/model.py @@ -92,7 +92,7 @@ class YOLO: # Check if Ultralytics HUB model from https://hub.ultralytics.com if model.startswith('https://hub.ultralytics.com/models/'): - from ultralytics.hub import HUBTrainingSession + from ultralytics.hub.session import HUBTrainingSession self.session = HUBTrainingSession(model) model = self.session.model_file