Skip to content

Commit

Permalink
Update tests/attacks/poison/test_hidden_trigger_backdoor.py
Browse files Browse the repository at this point in the history
Co-authored-by: Beat Buesser <49047826+beat-buesser@users.noreply.github.com>
  • Loading branch information
GiulioZizzo and beat-buesser committed Sep 13, 2023
1 parent 79538e7 commit 7bf255d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/attacks/poison/test_hidden_trigger_backdoor.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_poison(art_warning, get_default_mnist_subset, image_dl_estimator, frame
try:
(x_train, y_train), (_, _) = get_default_mnist_subset
functional = True
if framework == "huggigngface":
if framework == "huggingface":
functional = False
classifier, _ = image_dl_estimator(functional=functional)

Expand Down

0 comments on commit 7bf255d

Please sign in to comment.