pytorch-grad-cam
pytorch-grad-cam copied to clipboard
target_category bug
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'

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