Skip to content

Commit

Permalink
* run black
Browse files Browse the repository at this point in the history
  • Loading branch information
aaarrti committed Oct 5, 2023
1 parent 07790d5 commit 858d6be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion quantus/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def evaluate(
asserts.assert_attributions(a_batch=a_batch, x_batch=x_batch)

elif isinstance(value, Dict):

if explain_func_kwargs is not None:
warnings.warn(
"Passed explain_func_kwargs will be ignored when passing type Dict[str, Dict] as xai_methods."
Expand Down
2 changes: 1 addition & 1 deletion quantus/helpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

# Import files dependent on package installations.
__EXTRAS__ = util.find_spec("captum") or util.find_spec("tf_explain")
__MODELS__ = util.find_spec("torch") or util.find_spec("tensorflow")
__MODELS__ = util.find_spec("torch") or util.find_spec("tensorflow")

0 comments on commit 858d6be

Please sign in to comment.