优化训练过程
This commit is contained in:
@ -513,7 +513,7 @@ def check_font(font=FONT, progress=False):
|
||||
font = Path(font)
|
||||
file = CONFIG_DIR / font.name
|
||||
if not font.exists() and not file.exists():
|
||||
url = f"https://github.com/ultralytics/assets/releases/download/v0.0.0/{font.name}"
|
||||
url = f"https://ultralytics.com/assets/{font.name}"
|
||||
LOGGER.info(f"Downloading {url} to {file}...")
|
||||
torch.hub.download_url_to_file(url, str(file), progress=progress)
|
||||
|
||||
|
Reference in New Issue
Block a user