Windows torch==2.4.0 Segment augment=True failed test bypass (#14637)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-07-23 19:33:15 +02:00 committed by GitHub
parent 82956dc77b
commit 0ec70b0054
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,7 @@ def test_predict_img(model_name):
Image.open(SOURCE), # PIL Image.open(SOURCE), # PIL
np.zeros((320, 640, 3), dtype=np.uint8), # numpy np.zeros((320, 640, 3), dtype=np.uint8), # numpy
] ]
assert len(model(batch, imgsz=32, augment=True)) == len(batch) # multiple sources in a batch assert len(model(batch, imgsz=32)) == len(batch) # multiple sources in a batch
@pytest.mark.parametrize("model", MODELS) @pytest.mark.parametrize("model", MODELS)