Closed akashlp27 closed 2 years ago
use the complete github repository, pip install grad-cam is not updated yet. Worked for me
Hi I updated the pip version now. Can you please upgrade the version with pip install grad-cam --upgrade, and check if it works ?
Hi, It does not work. I meet the same error when I run tutorials/EigenCAM for YOLO5.ipynb. I try pip uninstall grad-cam and pip install grad-cam for upgrade. I use python 3.7.13, torch 1.10.2, grad-cam 1.3.7
Hi, I used
pip install git+https://github.com/jacobgil/pytorch-grad-cam.git
and it worked closing the issue, thanks
Great, it worked for me. Thanks
Hi, same issue while running the ipynb file though, My torch version 1.8.1 and gradcam version is 1.3.7
attached is the code:
Any inputs would help a lot.