Skip to content

Commit 9585b5c

Browse files
author
Beat Buesser
committed
Update PyTorchYolo tests for review
Signed-off-by: Beat Buesser <[email protected]>
1 parent 36e0bef commit 9585b5c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/estimators/object_detection/test_pytorch_yolo.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -291,14 +291,6 @@ def test_errors(art_warning, get_pytorch_yolo):
291291
attack_losses=("loss_classifier", "loss_box_reg", "loss_objectness", "loss_rpn_box_reg"),
292292
)
293293

294-
with pytest.raises(ValueError):
295-
PyTorchYolo(
296-
model=model,
297-
clip_values=(0, 1),
298-
attack_losses=("loss_classifier", "loss_box_reg", "loss_objectness", "loss_rpn_box_reg"),
299-
preprocessing=(0, 1),
300-
)
301-
302294
from art.defences.postprocessor.rounded import Rounded
303295

304296
post_def = Rounded()

0 commit comments

Comments
 (0)