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:
parent
82956dc77b
commit
0ec70b0054
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue