File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
from pytorch_grad_cam .utils .image import (
14
14
show_cam_on_image , deprocess_image , preprocess_image
15
15
)
16
- from pytorch_grad_cam .utils .model_targets import ClassifierOutputTarget
16
+ from pytorch_grad_cam .utils .model_targets import ClassifierOutputTarget , ClassifierOutputReST
17
17
18
18
19
19
def get_args ():
@@ -110,7 +110,7 @@ def get_args():
110
110
# If targets is None, the highest scoring category (for every member in the batch) will be used.
111
111
# You can target specific categories by
112
112
# targets = [ClassifierOutputTarget(281)]
113
- # targets = [ClassifierOutputTarget (281)]
113
+ # targets = [ClassifierOutputReST (281)]
114
114
targets = None
115
115
116
116
# Using the with statement ensures the context is freed, and you can
You can’t perform that action at this time.
0 commit comments