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

@ -1,16 +1,15 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license
from pathlib import Path
from itertools import product
from pathlib import Path
import pytest
import torch
from ultralytics import YOLO
from ultralytics.utils import ASSETS, WEIGHTS_DIR
from ultralytics.cfg import TASK2DATA, TASK2MODEL, TASKS
from tests import CUDA_DEVICE_COUNT, CUDA_IS_AVAILABLE, MODEL, SOURCE
from ultralytics import YOLO
from ultralytics.cfg import TASK2DATA, TASK2MODEL, TASKS
from ultralytics.utils import ASSETS, WEIGHTS_DIR
def test_checks():