ultralytics 8.3.27 HUB timed training fix (#17298)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
7cb36d64b2
commit
3a4b65c347
4 changed files with 11 additions and 12 deletions
|
|
@ -5,8 +5,8 @@
|
|||
avatar: https://avatars.githubusercontent.com/u/116908874?v=4
|
||||
username: jk4e
|
||||
1185102784@qq.com:
|
||||
avatar: null
|
||||
username: null
|
||||
avatar: https://avatars.githubusercontent.com/u/61612323?v=4
|
||||
username: Laughing-q
|
||||
130829914+IvorZhu331@users.noreply.github.com:
|
||||
avatar: https://avatars.githubusercontent.com/u/130829914?v=4
|
||||
username: IvorZhu331
|
||||
|
|
@ -137,8 +137,8 @@ rulosanti@gmail.com:
|
|||
avatar: null
|
||||
username: null
|
||||
shuizhuyuanluo@126.com:
|
||||
avatar: null
|
||||
username: null
|
||||
avatar: https://avatars.githubusercontent.com/u/171016?v=4
|
||||
username: https://github.com/nihui
|
||||
sometimesocrazy@gmail.com:
|
||||
avatar: null
|
||||
username: null
|
||||
|
|
@ -157,3 +157,6 @@ xinwang614@gmail.com:
|
|||
zhaode.wzd@alibaba-inc.com:
|
||||
avatar: https://avatars.githubusercontent.com/u/8401806?v=4
|
||||
username: ZhaodeWang
|
||||
davis.justin@mssm.org:
|
||||
avatar: https://avatars.githubusercontent.com/u/23462437?v=4
|
||||
username: justincdavis
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Ultralytics YOLO 🚀, AGPL-3.0 license
|
||||
|
||||
__version__ = "8.3.26"
|
||||
__version__ = "8.3.27"
|
||||
|
||||
import os
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ class BaseTrainer:
|
|||
self.save_period = self.args.save_period
|
||||
|
||||
self.batch_size = self.args.batch
|
||||
self.epochs = self.args.epochs
|
||||
self.epochs = self.args.epochs or 100 # in case users accidentally pass epochs=None with timed training
|
||||
self.start_epoch = 0
|
||||
if RANK == -1:
|
||||
print_args(vars(self.args))
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ from ultralytics.utils import (
|
|||
AUTOINSTALL,
|
||||
IS_COLAB,
|
||||
IS_GIT_DIR,
|
||||
IS_JUPYTER,
|
||||
IS_KAGGLE,
|
||||
IS_PIP_PACKAGE,
|
||||
LINUX,
|
||||
|
|
@ -569,11 +568,8 @@ def check_yolo(verbose=True, device=""):
|
|||
|
||||
from ultralytics.utils.torch_utils import select_device
|
||||
|
||||
if IS_JUPYTER:
|
||||
if check_requirements("wandb", install=False):
|
||||
os.system("pip uninstall -y wandb") # uninstall wandb: unwanted account creation prompt with infinite hang
|
||||
if IS_COLAB:
|
||||
shutil.rmtree("sample_data", ignore_errors=True) # remove colab /sample_data directory
|
||||
if IS_COLAB:
|
||||
shutil.rmtree("sample_data", ignore_errors=True) # remove colab /sample_data directory
|
||||
|
||||
if verbose:
|
||||
# System info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue