Skip to content

Commit

Permalink
Add build os to docs yml
Browse files Browse the repository at this point in the history
Signed-off-by: Beat Buesser <[email protected]>
  • Loading branch information
beat-buesser committed Nov 14, 2023
1 parent 5314060 commit d9f9123
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-tensorflow-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
pip install protobuf==3.20.1
pip install tensorflow==${{ matrix.tensorflow }}
pip install keras==${{ matrix.keras }}
pip install jax[cpu]==0.3.25
pip list
- name: Run Tests
run: ./run_tests.sh ${{ matrix.framework }}
Expand Down
2 changes: 0 additions & 2 deletions art/attacks/evasion/auto_attack.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ def generate(self, x: np.ndarray, y: Optional[np.ndarray] = None, **kwargs) -> n
with multiprocess.get_context("spawn").Pool(processes=1) as pool:
# Results come back in the order that they were issued
results = pool.starmap(run_attack, args)
asdfdasd
perturbations = []
is_robust = []
for img_idx in range(len(x)):
Expand Down Expand Up @@ -365,7 +364,6 @@ def run_attack(
:param eps: Maximum perturbation that the attacker can introduce.
:return: An array holding the adversarial examples.
"""
eeeeee
# Attack only correctly classified samples
x_robust = x[sample_is_robust]
y_robust = y[sample_is_robust]
Expand Down

0 comments on commit d9f9123

Please sign in to comment.