Skip to content

Commit f6e67bc

Browse files
committed
Merge remote-tracking branch 'origin' into lizaitang-main_great_score
2 parents a1c81cb + b15eba3 commit f6e67bc

File tree

113 files changed

+466
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+466
-305
lines changed

.github/actions/deepspeech-v3/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Get base image
2-
FROM python:3.10.13-slim-bullseye
2+
FROM python:3.10.13-slim-bookworm
33

44
# Set to install things in non-interactive mode
55
ENV DEBIAN_FRONTEND noninteractive

.github/actions/espresso/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Get base image
2-
FROM python:3.7.17-slim-bullseye
2+
FROM python:3.7.17-slim-bookworm
33

44
# Set to install things in non-interactive mode
55
ENV DEBIAN_FRONTEND noninteractive

.github/actions/goturn/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Get base image
2-
FROM python:3.8.19-slim-bullseye
2+
FROM python:3.8.19-slim-bookworm
3+
4+
ENV MONO_TLS_PROVIDER=legacy
35

46
# Install system wide software
57
RUN apt-get update \

.github/actions/tfv2-faster-rcnn/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Get base from a tensorflow image
2-
FROM tensorflow/tensorflow:2.10.1
2+
FROM tensorflow/tensorflow:2.13.0
33

44
# Set to install things in non-interactive mode
55
ENV DEBIAN_FRONTEND noninteractive
@@ -38,10 +38,9 @@ RUN cd TensorFlow && wget https://github.com/protocolbuffers/protobuf/releases/d
3838
RUN cd TensorFlow && unzip protoc-3.17.3-linux-x86_64.zip -d protobuf
3939
RUN cd TensorFlow/models/research && /TensorFlow/protobuf/bin/protoc object_detection/protos/*.proto --python_out=.
4040
RUN cd TensorFlow/models/research && cp object_detection/packages/tf2/setup.py .
41-
RUN cd TensorFlow/models/research && python -m pip install --use-feature=2020-resolver .
41+
RUN cd TensorFlow/models/research && python -m pip install .
4242

4343
RUN pip install tqdm
4444
RUN pip install requests
45-
RUN pip install sklearn
4645
RUN pip install numba==0.50.0
4746
RUN pip install pytest-cov

.github/actions/yolo/run.sh

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

11+
pytest --cov-report=xml --cov=art --cov-append -q -vv tests/attacks/test_overload_attack.py --framework=pytorch --durations=0
12+
if [[ $? -ne 0 ]]; then exit_code=1; echo "Failed attacks/test_overload_attack tests"; fi
13+
14+
pytest --cov-report=xml --cov=art --cov-append -q -vv tests/attacks/test_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+
1118
exit ${exit_code}

.github/workflows/ci-deepspeech-v3.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
test_deepspeech_v3_torch_2_1_1:
2626
name: PyTorchDeepSpeech v3 / PyTorch 2.1.1
2727
runs-on: ubuntu-latest
28-
container: adversarialrobustnesstoolbox/art_testing_envs:deepspeech_v3_torch_2_1_1
28+
container: bbuesser/art_testing_env_deepspeech_v3_torch_2_1_1:latest
2929
steps:
3030
- name: Checkout Repo
3131
uses: actions/checkout@v4

.github/workflows/ci-espresso.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
test_espresso:
2626
name: PyTorchEspresso
2727
runs-on: ubuntu-latest
28-
container: adversarialrobustnesstoolbox/art_testing_envs:espresso
28+
container: bbuesser/art_testing_env_espresso:latest
2929
steps:
3030
- name: Checkout Repo
3131
uses: actions/checkout@v4

.github/workflows/ci-goturn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
test_pytorch_goturn:
2626
name: PyTorchGoturn
2727
runs-on: ubuntu-latest
28-
container: adversarialrobustnesstoolbox/art_testing_envs:goturn
28+
container: bbuesser/art_testing_env_goturn:latest
2929
steps:
3030
- name: Checkout Repo
3131
uses: actions/checkout@v4

.github/workflows/ci-huggingface.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
pip3 install -r requirements_test.txt
5353
pip install tensorflow==2.14.0
5454
pip install keras==2.14.0
55-
pip install torch==${{ matrix.torch }} -f https://download.pytorch.org/whl/cpu/torch_stable.html
56-
pip install torchvision==${{ matrix.torchvision }} -f https://download.pytorch.org/whl/cpu/torch_stable.html
57-
pip install torchaudio==${{ matrix.torchaudio }} -f https://download.pytorch.org/whl/cpu/torch_stable.html
55+
pip install torch==${{ matrix.torch }} --index-url https://download.pytorch.org/whl/cpu
56+
pip install torchvision==${{ matrix.torchvision }} --index-url https://download.pytorch.org/whl/cpu
57+
pip install torchaudio==${{ matrix.torchaudio }} --index-url https://download.pytorch.org/whl/cpu
5858
pip install transformers==${{ matrix.transformers }}
5959
pip list
6060
- name: Run Tests

.github/workflows/ci-legacy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
matrix:
3030
module: [attacks_1, attacks_2, estimators, defences, metrics, art]
3131
include:
32-
- name: legacy (TensorFlow 2.14.0 Keras 2.14.0 PyTorch 1.13.1 scikit-learn 1.1.3 Python 3.9)
32+
- name: legacy (TensorFlow 2.14.0 Keras 2.14.0 PyTorch 1.13.1 scikit-learn 1.6.1 Python 3.9)
3333
framework: legacy
3434
python: '3.10'
3535
tensorflow: 2.14.0
3636
keras: 2.14.0
3737
torch: 1.13.1+cpu
3838
torchvision: 0.14.1+cpu
3939
torchaudio: 0.13.1+cpu
40-
scikit-learn: 1.1.3
40+
scikit-learn: 1.6.1
4141

4242
name: Run ${{ matrix.module }} ${{ matrix.name }} Tests
4343
steps:
@@ -56,9 +56,9 @@ jobs:
5656
pip install tensorflow==${{ matrix.tensorflow }}
5757
pip install keras==${{ matrix.keras }}
5858
pip install scikit-learn==${{ matrix.scikit-learn }}
59-
pip install torch==${{ matrix.torch }} -f https://download.pytorch.org/whl/cpu/torch_stable.html
60-
pip install torchvision==${{ matrix.torchvision }} -f https://download.pytorch.org/whl/cpu/torch_stable.html
61-
pip install torchaudio==${{ matrix.torchaudio }} -f https://download.pytorch.org/whl/cpu/torch_stable.html
59+
pip install torch==${{ matrix.torch }} --index-url https://download.pytorch.org/whl/cpu
60+
pip install torchvision==${{ matrix.torchvision }} --index-url https://download.pytorch.org/whl/cpu
61+
pip install torchaudio==${{ matrix.torchaudio }} --index-url https://download.pytorch.org/whl/cpu
6262
pip list
6363
- name: Run ${{ matrix.name }} ${{ matrix.module }} Tests
6464
run: ./run_tests.sh ${{ matrix.framework }} ${{ matrix.module }}

0 commit comments

Comments
 (0)