From d4939aa58a8c171c0785481500edf94980e57760 Mon Sep 17 00:00:00 2001 From: Sergiu Waxmann <47978446+sergiuwaxmann@users.noreply.github.com> Date: Sat, 24 Aug 2024 17:52:48 +0300 Subject: [PATCH] Missing best.pt resumed checkpoint upload spelling (#15772) --- ultralytics/hub/session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ultralytics/hub/session.py b/ultralytics/hub/session.py index 9ce9a299e6..500c235911 100644 --- a/ultralytics/hub/session.py +++ b/ultralytics/hub/session.py @@ -350,10 +350,10 @@ class HUBTrainingSession: last = weights.with_name("last" + weights.suffix) if final and last.is_file(): LOGGER.warning( - f"{PREFIX} ARNING ⚠️ Model 'best.pt' not found, copying 'last.pt' to 'best.pt' and uploading. " + f"{PREFIX} WARNING ⚠️ Model 'best.pt' not found, copying 'last.pt' to 'best.pt' and uploading. " "This often happens when resuming training in transient environments like Google Colab. " "For more reliable training, consider using Ultralytics HUB Cloud. " - "Learn more at https://docs.ultralytics.com/hub/cloud-training/." + "Learn more at https://docs.ultralytics.com/hub/cloud-training." ) shutil.copy(last, weights) # copy last.pt to best.pt else: