ultralytics 8.2.40 refactor HUB code into callbacks (#13896)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
3df9d278dc
commit
c636fe0f35
8 changed files with 75 additions and 57 deletions
|
|
@ -4,9 +4,24 @@ import requests
|
|||
|
||||
from ultralytics.data.utils import HUBDatasetStats
|
||||
from ultralytics.hub.auth import Auth
|
||||
from ultralytics.hub.utils import HUB_API_ROOT, HUB_WEB_ROOT, PREFIX
|
||||
from ultralytics.hub.session import HUBTrainingSession
|
||||
from ultralytics.hub.utils import HUB_API_ROOT, HUB_WEB_ROOT, PREFIX, events
|
||||
from ultralytics.utils import LOGGER, SETTINGS, checks
|
||||
|
||||
__all__ = (
|
||||
"PREFIX",
|
||||
"HUB_WEB_ROOT",
|
||||
"HUBTrainingSession",
|
||||
"login",
|
||||
"logout",
|
||||
"reset_model",
|
||||
"export_fmts_hub",
|
||||
"export_model",
|
||||
"get_export",
|
||||
"check_dataset",
|
||||
"events",
|
||||
)
|
||||
|
||||
|
||||
def login(api_key: str = None, save=True) -> bool:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue