Add missing single-line docstrings (#8362)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Johannes Kaisinger <johannes.kaisinger@gmail.com>
This commit is contained in:
parent
2945cfc6ef
commit
8c28e0c3fe
3 changed files with 4 additions and 2 deletions
|
|
@ -555,6 +555,7 @@ def test_hub():
|
|||
|
||||
@pytest.fixture
|
||||
def image():
|
||||
"""Loads an image from a predefined source using OpenCV."""
|
||||
return cv2.imread(str(SOURCE))
|
||||
|
||||
|
||||
|
|
@ -568,6 +569,7 @@ def image():
|
|||
],
|
||||
)
|
||||
def test_classify_transforms_train(image, auto_augment, erasing, force_color_jitter):
|
||||
"""Tests classification transforms during training with various augmentation settings."""
|
||||
import torchvision.transforms as T
|
||||
|
||||
from ultralytics.data.augment import classify_augmentations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue