Handle YouTube test ConnectionErrors (#13133)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
722ae9af37
commit
c371c953d5
7 changed files with 20 additions and 21 deletions
|
|
@ -4,11 +4,10 @@ import subprocess
|
|||
|
||||
import pytest
|
||||
|
||||
from tests import CUDA_DEVICE_COUNT, CUDA_IS_AVAILABLE
|
||||
from ultralytics.cfg import TASK2DATA, TASK2MODEL, TASKS
|
||||
from ultralytics.utils import ASSETS, WEIGHTS_DIR, checks
|
||||
|
||||
from tests import CUDA_DEVICE_COUNT, CUDA_IS_AVAILABLE
|
||||
|
||||
# Constants
|
||||
TASK_MODEL_DATA = [(task, WEIGHTS_DIR / TASK2MODEL[task], TASK2DATA[task]) for task in TASKS]
|
||||
MODELS = [WEIGHTS_DIR / TASK2MODEL[task] for task in TASKS]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue