Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
spour opened this issue Jul 29, 2021 · 0 comments
Open

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

spour opened this issue Jul 29, 2021 · 0 comments

Comments

@spour
Copy link

spour commented Jul 29, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant