mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 21:44:22 +08:00
ultralytics 8.0.118
updated Docs, OS and DDP fixes (#3197)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
a0fa99c4db
commit
a5a34af2f4
@ -1,6 +1,6 @@
|
||||
# Ultralytics YOLO 🚀, AGPL-3.0 license
|
||||
|
||||
__version__ = '8.0.117'
|
||||
__version__ = '8.0.118'
|
||||
|
||||
from ultralytics.hub import start
|
||||
from ultralytics.vit.rtdetr import RTDETR
|
||||
|
@ -19,9 +19,9 @@ import requests
|
||||
import torch
|
||||
from matplotlib import font_manager
|
||||
|
||||
from ultralytics.yolo.utils import (AUTOINSTALL, LOGGER, ONLINE, RANK, ROOT, USER_CONFIG_DIR, TryExcept, clean_url,
|
||||
colorstr, downloads, emojis, is_colab, is_docker, is_kaggle, is_online,
|
||||
is_pip_package, url2file)
|
||||
from ultralytics.yolo.utils import (AUTOINSTALL, LOGGER, ONLINE, ROOT, USER_CONFIG_DIR, TryExcept, clean_url, colorstr,
|
||||
downloads, emojis, is_colab, is_docker, is_kaggle, is_online, is_pip_package,
|
||||
url2file)
|
||||
|
||||
|
||||
def is_ascii(s) -> bool:
|
||||
@ -164,9 +164,6 @@ def check_font(font='Arial.ttf'):
|
||||
Returns:
|
||||
file (Path): Resolved font file path.
|
||||
"""
|
||||
from ultralytics.yolo.utils.torch_utils import torch_distributed_zero_first
|
||||
|
||||
with torch_distributed_zero_first(RANK):
|
||||
name = Path(font).name
|
||||
|
||||
# Check USER_CONFIG_DIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user