We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01a950 commit af2d53aCopy full SHA for af2d53a
pytorch_grad_cam/utils/model_targets.py
@@ -32,7 +32,7 @@ def __call__(self, model_output):
32
sign = 1
33
else:
34
sign = -1
35
- return torch.abs(model_output) * sign
+ return model_output * sign
36
37
38
class SoftmaxOutputTarget:
0 commit comments