Skip to content

Commit

Permalink
docs: Added website referencing (#7)
Browse files Browse the repository at this point in the history
* docs: Added Google referencing

* style: Fixed lint
  • Loading branch information
frgfm authored May 11, 2020
1 parent 05f02bd commit 9a45c93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
'collapse_navigation': False,
'display_version': True,
'logo_only': False,
'analytics_id': 'UA-148140560-4',
}


Expand Down
2 changes: 1 addition & 1 deletion torchcam/cams/cam.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _precheck(self, class_idx, scores):

# Check scores arg
if self._score_used and not isinstance(scores, torch.Tensor):
raise ValueError(f"model output scores is required to be passed to compute CAMs")
raise ValueError("model output scores is required to be passed to compute CAMs")

def __call__(self, class_idx, scores=None, normalized=True):

Expand Down

0 comments on commit 9a45c93

Please sign in to comment.