ultralytics 8.0.82 docs updates and fixes (#2098)
Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com> Co-authored-by: Aurelio Losquiño Muñoz <38859113+aurelm95@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Paula Derrenger <107626595+pderrenger@users.noreply.github.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com>
This commit is contained in:
parent
a38f227672
commit
55a03ad85f
15 changed files with 174 additions and 50 deletions
|
|
@ -6,7 +6,7 @@ from time import sleep
|
|||
|
||||
import requests
|
||||
|
||||
from ultralytics.hub.utils import HUB_API_ROOT, PREFIX, check_dataset_disk_space, smart_request
|
||||
from ultralytics.hub.utils import HUB_API_ROOT, PREFIX, smart_request
|
||||
from ultralytics.yolo.utils import LOGGER, __version__, checks, emojis, is_colab, threaded
|
||||
from ultralytics.yolo.utils.errors import HUBModelError
|
||||
|
||||
|
|
@ -136,11 +136,6 @@ class HUBTrainingSession:
|
|||
except Exception:
|
||||
raise
|
||||
|
||||
def check_disk_space(self):
|
||||
"""Check if there is enough disk space for the dataset."""
|
||||
if not check_dataset_disk_space(url=self.model['data']):
|
||||
raise MemoryError('Not enough disk space')
|
||||
|
||||
def upload_model(self, epoch, weights, is_best=False, map=0.0, final=False):
|
||||
"""
|
||||
Upload a model checkpoint to Ultralytics HUB.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue