Open pherrusa7 opened 5 years ago
changes in gradcam.py: fixed wrong denominator of Eq.19 (second term: Sum_{a,b} A^{k}_{a,b}) in the paper.
gradcam.py
Sum_{a,b} A^{k}_{a,b}
changes in example.ipynb: added a flag to automatically detect if Cuda can be used, otherwise, use CPU.
example.ipynb
changes in
gradcam.py
: fixed wrong denominator of Eq.19 (second term:Sum_{a,b} A^{k}_{a,b}
) in the paper.changes in
example.ipynb
: added a flag to automatically detect if Cuda can be used, otherwise, use CPU.