pytorch-grad-cam icon indicating copy to clipboard operation
pytorch-grad-cam copied to clipboard

target_category bug

Open Afjes opened this issue 2 years ago • 1 comments

An error is reported for the parameter target_category
TypeError: call() got an unexpected keyword argument 'target_category' When I change the parameter to targets, the error is as follows: TypeError: forward() missing 2 required positional arguments: 'targets' and 'args' image

Afjes avatar Mar 25 '23 01:03 Afjes

So I would like to ask if there is any way to solve this problem. Is the version of torch incorrect

Afjes avatar Mar 25 '23 01:03 Afjes