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

Implement get_activations() for PyTorch Object Detectors #2314

Open
f4str opened this issue Oct 19, 2023 · 1 comment
Open

Implement get_activations() for PyTorch Object Detectors #2314

f4str opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Projects
Milestone

Comments

@f4str
Copy link
Collaborator

f4str commented Oct 19, 2023

Is your feature request related to a problem? Please describe.
The current PyTorch object detectors (PyTorchObjectDetector, PyTorchFasterRCNN, PyTorchYolo, PyTorchDetectionTransformer) do not implement the get_activations() method and therefore cannot extract activations.

Describe the solution you'd like
Using the model wrapper method used by HuggingFaceClassifierPyTorch, support can be added for activations for the PyTorch object detectors. This will allow usage of activation-based defenses such as Activation Clustering and Spectral Signatures.

Describe alternatives you've considered
N/A

Additional context
This will be worked on after #2267 is completed to avoid redundant code.

@beat-buesser
Copy link
Collaborator

Hi @f4str Sounds good!

@beat-buesser beat-buesser added the enhancement New feature or request label Nov 1, 2023
@beat-buesser beat-buesser added this to the ART 1.17.0 milestone Nov 1, 2023
@beat-buesser beat-buesser modified the milestones: ART 1.17.0, ART 1.18.0 Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
ART 1.18.0
Awaiting triage
Development

No branches or pull requests

2 participants