Skip to content

Commit 6d38d48

Browse files
committed
Fix dependencies
Signed-off-by: Beat Buesser <[email protected]>
1 parent d0f7e90 commit 6d38d48

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/attacks/evasion/test_overload_attack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def test_generate(art_warning):
5252

5353
model = YOLO("yolov5su.pt")
5454
py_model = PyTorchYolo(model=model, input_shape=(3, 640, 640), channels_first=True)
55+
5556
# Download a sample image
5657
import requests
5758
from io import BytesIO
@@ -102,7 +103,6 @@ def test_check_params(art_warning):
102103
torch.serialization.add_safe_globals([ultralytics.nn.modules.DFL])
103104

104105
model = YOLO("yolov5su.pt")
105-
print(model)
106106
py_model = PyTorchYolo(model=model, input_shape=(3, 640, 640), channels_first=True)
107107

108108
with pytest.raises(ValueError):

tests/attacks/evasion/test_steal_now_attack_later.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,6 @@ def test_check_params(art_warning):
234234
torch.serialization.add_safe_globals([ultralytics.nn.modules.DFL])
235235

236236
model = YOLO("yolov8m")
237-
print(model)
238-
sdf
239237
py_model = PyTorchYolo(model=model, input_shape=(3, 640, 640), channels_first=True, is_yolov8=True)
240238

241239
def dummy_func(model, imags):

0 commit comments

Comments
 (0)