Skip to content

Commit 26485f0

Browse files
author
Beat Buesser
committed
Update test for DPatchRobust
Signed-off-by: Beat Buesser <[email protected]>
1 parent ee3a443 commit 26485f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/attacks/evasion/test_dpatch_robust.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def test_augment_images_with_patch(art_warning, image_format, fix_get_robust_dpa
9090
channels_first = True
9191

9292
patched_images, _, transformations = attack._augment_images_with_patch(
93-
x=x, patch=patch, channels_first=channels_first
93+
x=x, y=None, patch=patch, channels_first=channels_first
9494
)
9595

9696
transformation_expected = {"crop_x": 0, "crop_y": 0, "rot90": 0, "brightness": 1.0}

0 commit comments

Comments
 (0)