The model is at the last in a pipeline #1497
Unanswered
SwamiPatil
asked this question in
Q&A
Replies: 1 comment
-
Hi @SwamiPatil Thank you very much for using ART! The Did you encounter a case where this causes a problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
adversarial-robustness-toolbox/art/estimators/scikitlearn.py
Line 50 in 79a980f
Current value of _input_shape is:
elif hasattr(model, "steps"):
_input_shape = self._get_input_shape(model.steps[0][1])
It should be
_input_shape = self._get_input_shape(model.steps[-1][-1])
Because the model is at the last in pipeline.steps
Beta Was this translation helpful? Give feedback.
All reactions