Skip to content

Cannot compute the gradient of non-differentiable PreprocessorPyTorch #1530

Answered by Lodour
Lodour asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @beat-buesser, sorry to bother but I was wondering why this is not a bug.
The estimate_forward method in PreprocessorPyTorch is documented but not invoked anywhere.

You can verify so by searching "estimate_forward" in the entire codebase:
https://github.com/Trusted-AI/adversarial-robustness-toolbox/search?q=estimate_forward

If I understand it correctly, the current PreprocessorPyTorch does not support BPDA. It seems that PreprocessorPyTorch is assumed to have a differentiable forward, and the estimate_forward is only put there for documentation.

Thanks!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@beat-buesser
Comment options

@Lodour
Comment options

Answer selected by Lodour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1526 on February 07, 2022 13:38.