Skip to content

Commit 8d5cf2a

Browse files
committed
Fix dependencies
Signed-off-by: Beat Buesser <[email protected]>
1 parent c06b59a commit 8d5cf2a

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/actions/yolo/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ if [[ $? -ne 0 ]]; then exit_code=1; echo "Failed estimators/object_detection/te
1111
pytest --cov-report=xml --cov=art --cov-append -q -vv tests/attacks/test_overload_attack.py --framework=pytorch --durations=0
1212
if [[ $? -ne 0 ]]; then exit_code=1; echo "Failed attacks/test_overload_attack tests"; fi
1313

14+
pytest --cov-report=xml --cov=art --cov-append -q -vv tests/attacks/teest_steal_now_attack_later.py --framework=pytorch --durations=0
15+
if [[ $? -ne 0 ]]; then exit_code=1; echo "Failed attacks/teest_steal_now_attack_later tests"; fi
16+
17+
1418
exit ${exit_code}

requirements_test.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ types-setuptools==80.8.0.20250521
6666

6767
# other
6868
requests~=2.32.3
69-
ultralytics==8.0.217
70-
ipython==8.31.0
7169

7270
# ART
7371
-e .

tests/attacks/test_overload_attack.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def test_generate(art_warning, get_pytorch_detector_yolo):
3434
from PIL import Image
3535
import requests
3636
import torch
37-
from ultralytics import YOLO
3837

3938
threshold = 0.85
4039

0 commit comments

Comments
 (0)