Handle YouTube test ConnectionErrors (#13133)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-05-26 05:41:07 +02:00 committed by GitHub
parent 722ae9af37
commit c371c953d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 21 deletions

View file

@ -7,6 +7,7 @@ from pathlib import Path
import pytest
from tests import MODEL, SOURCE
from ultralytics import YOLO
from ultralytics.cfg import TASK2DATA, TASK2MODEL, TASKS
from ultralytics.utils import (
@ -18,7 +19,6 @@ from ultralytics.utils import (
checks,
)
from ultralytics.utils.torch_utils import TORCH_1_9, TORCH_1_13
from tests import MODEL, SOURCE
def test_export_torchscript():