Ultralytics Code Refactor https://ultralytics.com/actions (#14109)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
ff63a56a42
commit
691b5daccb
16 changed files with 124 additions and 113 deletions
|
|
@ -230,6 +230,8 @@ class HUBTrainingSession:
|
|||
*args,
|
||||
**kwargs,
|
||||
):
|
||||
"""Attempts to execute `request_func` with retries, timeout handling, optional threading, and progress."""
|
||||
|
||||
def retry_request():
|
||||
"""Attempts to call `request_func` with retries, timeout, and optional threading."""
|
||||
t0 = time.time() # Record the start time for the timeout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue