Skip to content

Commit 4f28291

Browse files
committed
Merge branch 'gm-so' of github.com:TS-Lee/adversarial-robustness-toolbox into gm-so
2 parents 680ab78 + 5134aed commit 4f28291

File tree

222 files changed

+9342
-1665
lines changed

Some content is hidden

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

222 files changed

+9342
-1665
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
container: minhitbk/art_testing_envs:deepspeech_v2
2626
steps:
2727
- name: Checkout Repo
28-
uses: actions/checkout@v2.4.0
28+
uses: actions/checkout@v3
2929
- name: Run Test Action
3030
uses: ./.github/actions/deepspeech-v2
3131
- name: Upload coverage to Codecov

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ jobs:
2323
name: PyTorchDeepSpeech v3
2424
runs-on: ubuntu-latest
2525
container: minhitbk/art_testing_envs:deepspeech_v3
26+
steps:
27+
- name: Checkout Repo
28+
uses: actions/checkout@v3
29+
- name: Run Test Action
30+
uses: ./.github/actions/deepspeech-v3
31+
- name: Upload coverage to Codecov
32+
uses: codecov/[email protected]
33+
with:
34+
fail_ci_if_error: true
35+
test_deepspeech_v3_torch_1_10:
36+
name: PyTorchDeepSpeech v3 / PyTorch 1.10
37+
runs-on: ubuntu-latest
38+
container: adversarialrobustnesstoolbox/art_testing_envs:deepspeech_v3_torch_1_10
2639
steps:
2740
- name: Checkout Repo
2841
uses: actions/[email protected]

.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
container: adversarialrobustnesstoolbox/art_testing_envs:espresso
2626
steps:
2727
- name: Checkout Repo
28-
uses: actions/checkout@v2.4.0
28+
uses: actions/checkout@v3
2929
- name: Run Test Action
3030
uses: ./.github/actions/espresso
3131
- name: Upload coverage to Codecov

.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
container: adversarialrobustnesstoolbox/art_testing_envs:goturn
2626
steps:
2727
- name: Checkout Repo
28-
uses: actions/checkout@v2.4.0
28+
uses: actions/checkout@v3
2929
- name: Run Test Action
3030
uses: ./.github/actions/goturn
3131
- name: Upload coverage to Codecov

.github/workflows/ci-keras.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,37 +25,37 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
include:
28-
- name: Keras 2.3.1 (TensorFlow 2.2.1 Python 3.7)
28+
- name: Keras 2.3.1 (TensorFlow 2.2.1 Python 3.8)
2929
framework: keras
30-
python: 3.7
30+
python: 3.8
3131
tensorflow: 2.2.1
3232
keras: 2.3.1
3333
tf_addons: 0.13.0
34-
- name: TensorFlow-Keras 2.3.4 (Keras 2.4.3 Python 3.7)
34+
- name: TensorFlow-Keras 2.3.4 (Keras 2.4.3 Python 3.8)
3535
framework: kerastf
36-
python: 3.7
36+
python: 3.8
3737
tensorflow: 2.3.4
3838
keras: 2.4.3
3939
tf_addons: 0.13.0
40-
- name: Keras 2.6.0 (TensorFlow 2.6.0 Python 3.8)
40+
- name: Keras 2.6.0 (TensorFlow 2.6.0 Python 3.9)
4141
framework: keras
42-
python: 3.8
42+
python: 3.9
4343
tensorflow: 2.6.0
4444
keras: 2.6.0
4545
tf_addons: 0.14.0
46-
- name: TensorFlow-Keras 2.6.0 (Keras 2.6.0 Python 3.8)
46+
- name: TensorFlow-Keras 2.6.0 (Keras 2.6.0 Python 3.9)
4747
framework: kerastf
48-
python: 3.8
48+
python: 3.9
4949
tensorflow: 2.6.0
5050
keras: 2.6.0
5151
tf_addons: 0.14.0
5252

5353
name: ${{ matrix.name }}
5454
steps:
5555
- name: Checkout Repo
56-
uses: actions/checkout@v2.4.0
56+
uses: actions/checkout@v3
5757
- name: Setup Python
58-
uses: actions/setup-python@v2.3.1
58+
uses: actions/setup-python@v3
5959
with:
6060
python-version: ${{ matrix.python }}
6161
- name: Install Dependencies

.github/workflows/ci-legacy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@ jobs:
2626
matrix:
2727
module: [attacks_1, attacks_2, estimators, defences, metrics, art]
2828
include:
29-
- name: legacy (TensorFlow 2.6.0 Keras 2.6.0 PyTorch 1.10.2 scikit-learn 0.24.2 Python 3.8)
29+
- name: legacy (TensorFlow 2.6.0 Keras 2.6.0 PyTorch 1.10.2 scikit-learn 1.0.2 Python 3.9)
3030
framework: legacy
31-
python: 3.8
31+
python: 3.9
3232
tensorflow: 2.6.0
3333
keras: 2.6.0
3434
torch: 1.10.2+cpu
3535
torchvision: 0.11.3+cpu
3636
torchaudio: 0.10.2+cpu
37-
scikit-learn: 0.24.2
37+
scikit-learn: 1.0.2
3838

3939
name: Run ${{ matrix.module }} ${{ matrix.name }} Tests
4040
steps:
4141
- name: Checkout Repo
42-
uses: actions/checkout@v2.4.0
42+
uses: actions/checkout@v3
4343
- name: Setup Python
44-
uses: actions/setup-python@v2.3.1
44+
uses: actions/setup-python@v3
4545
with:
4646
python-version: ${{ matrix.python }}
4747
- name: Install Dependencies

.github/workflows/ci-lingvo.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
name: Run ${{ matrix.name }} Tests
3737
steps:
3838
- name: Checkout Repo
39-
uses: actions/checkout@v2.4.0
39+
uses: actions/checkout@v3
4040
- name: Setup Python
41-
uses: actions/setup-python@v2.3.1
41+
uses: actions/setup-python@v3
4242
with:
4343
python-version: ${{ matrix.python }}
4444
- name: Pre-install Lingvo ASR
@@ -47,7 +47,7 @@ jobs:
4747
sudo apt-get update
4848
sudo apt-get -y -q install ffmpeg libavcodec-extra
4949
python -m pip install --upgrade pip setuptools wheel
50-
pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^Pillow/d' requirements_test.txt)
50+
pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^h5py/d;/^Pillow/d;/^pytest-mock/d' requirements_test.txt)
5151
pip install scipy==1.5.4
5252
pip install matplotlib==3.3.4
5353
pip install pandas==1.1.5
@@ -59,6 +59,8 @@ jobs:
5959
pip install tensorflow-addons==0.9.1
6060
pip install model-pruning-google-research==0.0.3
6161
pip install jax[cpu]==0.2.17
62+
pip install h5py==2.10.0
63+
pip install pytest-mock
6264
pip list
6365
- name: Run ${{ matrix.name }} Tests
6466
run: ./run_tests.sh ${{ matrix.framework }}

.github/workflows/ci-mxnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
include:
28-
- name: mxnet (Python 3.7)
28+
- name: mxnet (Python 3.8)
2929
framework: mxnet
30-
python: 3.7
30+
python: 3.8
3131

3232
name: Run ${{ matrix.name }} Tests
3333
steps:
3434
- name: Checkout Repo
35-
uses: actions/checkout@v2.4.0
35+
uses: actions/checkout@v3
3636
- name: Setup Python
37-
uses: actions/setup-python@v2.3.1
37+
uses: actions/setup-python@v3
3838
with:
3939
python-version: ${{ matrix.python }}
4040
- name: Install Dependencies

.github/workflows/ci-pytorch-object-detectors.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
fail-fast: false
2727
steps:
2828
- name: Checkout Repo
29-
uses: actions/checkout@v2.4.0
29+
uses: actions/checkout@v3
3030
- name: Setup Python
31-
uses: actions/setup-python@v2.3.1
31+
uses: actions/setup-python@v3
3232
with:
33-
python-version: 3.7
33+
python-version: 3.8
3434
- name: Install Dependencies
3535
run: |
3636
sudo apt-get update

.github/workflows/ci-pytorch.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,31 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
include:
28-
- name: PyTorch 1.8.1 (Python 3.7)
28+
- name: PyTorch 1.8.1 (Python 3.8)
2929
framework: pytorch
30-
python: 3.7
30+
python: 3.8
3131
torch: 1.8.1+cpu
3232
torchvision: 0.9.1+cpu
3333
torchaudio: 0.8.1
34-
- name: PyTorch 1.9.1 (Python 3.7)
34+
- name: PyTorch 1.9.1 (Python 3.8)
3535
framework: pytorch
36-
python: 3.7
36+
python: 3.8
3737
torch: 1.9.1+cpu
3838
torchvision: 0.10.1+cpu
3939
torchaudio: 0.9.1
40-
- name: PyTorch 1.10.2 (Python 3.7)
40+
- name: PyTorch 1.10.2 (Python 3.8)
4141
framework: pytorch
42-
python: 3.7
42+
python: 3.8
4343
torch: 1.10.2+cpu
4444
torchvision: 0.11.3+cpu
4545
torchaudio: 0.10.2+cpu
4646

4747
name: ${{ matrix.name }}
4848
steps:
4949
- name: Checkout Repo
50-
uses: actions/checkout@v2.4.0
50+
uses: actions/checkout@v3
5151
- name: Setup Python
52-
uses: actions/setup-python@v2.3.1
52+
uses: actions/setup-python@v3
5353
with:
5454
python-version: ${{ matrix.python }}
5555
- name: Install Dependencies

0 commit comments

Comments
 (0)