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

Remove internal state from AnchorImage explainer #460

Merged
merged 13 commits into from
Aug 4, 2021
Prev Previous commit
Next Next commit
Don't store mab object internally
  • Loading branch information
Adrian Gonzalez-Martin committed Jul 30, 2021
commit 4d0bde49f117d3d4196508537bd657bc6b95ce78
1 change: 0 additions & 1 deletion alibi/explainers/anchor_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ def explain(
verbose_every=verbose_every,
**kwargs,
) # type: Any
self.mab = mab

return self.build_explanation(
image, result, sampler.instance_label, params, sampler
Expand Down