DeepExplain icon indicating copy to clipboard operation
DeepExplain copied to clipboard

AttributeError: 'GradientXInput' object has no attribute 'baseline'

Open spour opened this issue 2 years ago • 0 comments

Hi, While trying to run multiple_input_keras.ipynb and https://github.com/marcoancona/DeepExplain/blob/master/examples/mnist_tensorflow.ipynb, I can install and create the models just fine but when it comes time to use DeepExplain as demonstrated in the example folders, I receive this traceback: line 3343, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 15, in attributions_gradin = de.explain('grad*input', target_tensor, input_tensor, xs) line 94, in _set_check_baseline if self.baseline is None: AttributeError: 'GradientXInput' object has no attribute 'baseline'

I'm unsure what is happening, for reference my tf version is '1.14.0'. I'm sure it's a silly error but any clarification would be great.

Thanks.

spour avatar Jul 29 '21 20:07 spour