Open KandBM opened 1 year ago
Hi @KandBM Please apologise the delayed response and thank you for opening this issue. I can see multiple issues here.
Thanks @beat-buesser ! I half expected the regression was the issue, so I'll give your suggestion a shot (sorry for the late reply, I was on vacation without internet).
Describe the bug Initializing an attack on a PyTorchRegressor throws an EstimatorError with missing words in the message:
EstimatorError: AutoProjectedGradientDescent requires an estimator derived from and and , the provided classifier is an instance of and is derived from (, ).
To Reproduce EDIT: I'm adding some new code for clarity, and changed it so the regressor has only one output. Sorry for the weird layout, I'm copying cells from a notebook.
The environment can be reproduced with the following commands:
Expected behavior Attack should be initialized with the regression model as the estimator.
System information (please complete the following information):