Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to ART 1.15.0 #2207

Merged
merged 127 commits into from
Jun 30, 2023
Merged

Update to ART 1.15.0 #2207

merged 127 commits into from
Jun 30, 2023

Conversation

beat-buesser
Copy link
Collaborator

This pull request merges the updates of ART 1.15.0 to branch main.

f4str and others added 30 commits April 24, 2023 15:05
Signed-off-by: Farhan Ahmed <[email protected]>
Remove incorrectly duplicated queries in SignOPT attack
Fix Image Poisoning Perturbations Trigger Placement Bug
Signed-off-by: signedqiu <[email protected]>
Signed-off-by: signedqiu <[email protected]>
Signed-off-by: Muhammad Zaid Hameed <[email protected]>
Signed-off-by: Farhan Ahmed <[email protected]>
Signed-off-by: Farhan Ahmed <[email protected]>
beat-buesser and others added 17 commits June 21, 2023 00:27
Optimize PyTorch Classifiers and Object Detectors
Fix AdversarialPatchPyTorch compatibility with YOLO estimator
…ed test so consistently passes on both CPU and GPU.

Signed-off-by: Kieran Fraser <[email protected]>
Signed-off-by: Kieran Fraser <[email protected]>
raise NotImplementedError

@abc.abstractmethod
def fit_generator(self, generator: DataGenerator, nb_epochs: int = 20, **kwargs):

Check notice

Code scanning / CodeQL

Mismatch between signature and use of an overridden method

Overridden method signature does not match [call](1), where it is passed too many arguments. Overriding method [method AdversarialTrainerTRADESPyTorch.fit_generator](2) matches the call. Overridden method signature does not match [call](1), where it is passed an argument named 'scheduler'. Overriding method [method AdversarialTrainerTRADESPyTorch.fit_generator](2) matches the call.
@beat-buesser beat-buesser added the release Releases of ART label Jun 28, 2023
@beat-buesser beat-buesser self-assigned this Jun 28, 2023
@beat-buesser beat-buesser added this to the ART 1.15.0 milestone Jun 28, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jun 28, 2023

Codecov Report

Attention: Patch coverage is 78.65260% with 263 lines in your changes missing coverage. Please review.

Project coverage is 85.62%. Comparing base (7691b39) to head (e3708eb).
Report is 912 commits behind head on main.

Files with missing lines Patch % Lines
.../object_detection/pytorch_detection_transformer.py 63.26% 57 Missing and 15 partials ⚠️
art/estimators/object_detection/detr.py 73.87% 53 Missing and 5 partials ⚠️
art/estimators/regression/pytorch.py 0.00% 20 Missing ⚠️
...nces/trainer/adversarial_trainer_trades_pytorch.py 87.73% 6 Missing and 7 partials ⚠️
...mators/object_detection/pytorch_object_detector.py 84.50% 4 Missing and 7 partials ⚠️
art/estimators/object_detection/utils.py 66.66% 9 Missing and 2 partials ⚠️
art/preprocessing/image/image_square_pad/numpy.py 86.36% 4 Missing and 5 partials ⚠️
...rt/preprocessing/image/image_square_pad/pytorch.py 86.56% 4 Missing and 5 partials ⚠️
...preprocessing/image/image_square_pad/tensorflow.py 86.36% 4 Missing and 5 partials ⚠️
...ion/adversarial_patch/adversarial_patch_pytorch.py 36.36% 7 Missing ⚠️
... and 11 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2207      +/-   ##
==========================================
- Coverage   85.63%   85.62%   -0.02%     
==========================================
  Files         297      308      +11     
  Lines       26520    27448     +928     
  Branches     4864     5044     +180     
==========================================
+ Hits        22711    23502     +791     
- Misses       2571     2667      +96     
- Partials     1238     1279      +41     
Flag Coverage Δ
20.68% <33.46%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
art/attacks/attack.py 92.85% <ø> (ø)
art/attacks/evasion/auto_conjugate_gradient.py 86.52% <ø> (ø)
...attacks/evasion/auto_projected_gradient_descent.py 86.51% <ø> (ø)
art/attacks/evasion/brendel_bethge.py 87.01% <ø> (ø)
...ient_descent/projected_gradient_descent_pytorch.py 93.47% <100.00%> (ø)
art/attacks/evasion/sign_opt.py 86.81% <100.00%> (ø)
...rt/defences/detector/poison/clustering_analyzer.py 94.93% <100.00%> (ø)
art/defences/preprocessor/preprocessor.py 78.63% <100.00%> (ø)
art/defences/trainer/__init__.py 100.00% <100.00%> (ø)
art/defences/trainer/adversarial_trainer_trades.py 100.00% <100.00%> (ø)
... and 27 more

... and 1 file with indirect coverage changes

Fix ragged nested sequence warning
@beat-buesser beat-buesser merged commit aaa5bce into main Jun 30, 2023
@beat-buesser beat-buesser deleted the dev_1.15.0 branch July 3, 2024 17:49
@beat-buesser beat-buesser restored the dev_1.15.0 branch September 30, 2024 20:26
@beat-buesser beat-buesser deleted the dev_1.15.0 branch October 1, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Releases of ART
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants