File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def _update_preprocessing_operations(self):
9898 if self .preprocessing is None :
9999 pass
100100 elif isinstance (self .preprocessing , tuple ):
101- from art .preprocessing .standardisation_mean_std .standardisation_mean_std import StandardisationMeanStd
101+ from art .preprocessing .standardisation_mean_std .numpy import StandardisationMeanStd
102102
103103 self .preprocessing_operations .append (
104104 StandardisationMeanStd (mean = self .preprocessing [0 ], std = self .preprocessing [1 ])
@@ -109,7 +109,9 @@ def _update_preprocessing_operations(self):
109109 raise ValueError ("Preprocessing argument not recognised." )
110110
111111 @staticmethod
112- def _set_preprocessing (preprocessing : Optional [Union ["PREPROCESSING_TYPE" , "Preprocessor" ]]) -> Optional ["Preprocessor" ]:
112+ def _set_preprocessing (
113+ preprocessing : Optional [Union ["PREPROCESSING_TYPE" , "Preprocessor" ]]
114+ ) -> Optional ["Preprocessor" ]:
113115 from art .defences .preprocessor .preprocessor import Preprocessor
114116
115117 if preprocessing is None :
You can’t perform that action at this time.
0 commit comments