Skip to content

Commit 0b85cba

Browse files
ReST example
1 parent 7bde09c commit 0b85cba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cam.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from pytorch_grad_cam.utils.image import (
1414
show_cam_on_image, deprocess_image, preprocess_image
1515
)
16-
from pytorch_grad_cam.utils.model_targets import ClassifierOutputTarget
16+
from pytorch_grad_cam.utils.model_targets import ClassifierOutputTarget, ClassifierOutputReST
1717

1818

1919
def get_args():
@@ -110,7 +110,7 @@ def get_args():
110110
# If targets is None, the highest scoring category (for every member in the batch) will be used.
111111
# You can target specific categories by
112112
# targets = [ClassifierOutputTarget(281)]
113-
# targets = [ClassifierOutputTarget(281)]
113+
# targets = [ClassifierOutputReST(281)]
114114
targets = None
115115

116116
# Using the with statement ensures the context is freed, and you can

0 commit comments

Comments
 (0)