Skip to content

Commit

Permalink
Remove internal state from AnchorImage explainer (#460)
Browse files Browse the repository at this point in the history
* Refactor sampler into its own class

* Add tests for scale_image

* Add tests for sampler

* Refactor anchor image test

* Don't store mab object internally

* Add test to ensure explain method is stateless

* Add __call__ and revert black

* fix linter

* fix mypy

* Move sampler and util to same module

* Fix tests

* Fix linter

* Remove TODO comment
  • Loading branch information
Adrian Gonzalez-Martin authored Aug 4, 2021
1 parent 390a255 commit ab7dbf9
Show file tree
Hide file tree
Showing 2 changed files with 386 additions and 233 deletions.
Loading

0 comments on commit ab7dbf9

Please sign in to comment.