DoB24 commited on
Commit
abe56dc
·
verified ·
1 Parent(s): 2298776

Add Grad-CAM saliency maps for 6 CNN-class models

Browse files
.gitattributes CHANGED
@@ -53,3 +53,9 @@ analysis/roc_curves/roc_resnet50.png filter=lfs diff=lfs merge=lfs -text
53
  analysis/roc_curves/roc_retfound.png filter=lfs diff=lfs merge=lfs -text
54
  analysis/roc_curves/roc_swin_b.png filter=lfs diff=lfs merge=lfs -text
55
  analysis/roc_curves/roc_vgg19.png filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
53
  analysis/roc_curves/roc_retfound.png filter=lfs diff=lfs merge=lfs -text
54
  analysis/roc_curves/roc_swin_b.png filter=lfs diff=lfs merge=lfs -text
55
  analysis/roc_curves/roc_vgg19.png filter=lfs diff=lfs merge=lfs -text
56
+ gradcam/gradcam_clip_openai.png filter=lfs diff=lfs merge=lfs -text
57
+ gradcam/gradcam_densenet121.png filter=lfs diff=lfs merge=lfs -text
58
+ gradcam/gradcam_inception_v3.png filter=lfs diff=lfs merge=lfs -text
59
+ gradcam/gradcam_resnet101.png filter=lfs diff=lfs merge=lfs -text
60
+ gradcam/gradcam_resnet50.png filter=lfs diff=lfs merge=lfs -text
61
+ gradcam/gradcam_vgg19.png filter=lfs diff=lfs merge=lfs -text
gradcam/README.md ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Grad-CAM Saliency Maps
2
+
3
+ Per-class Grad-CAM visualisations for the 6 CNN-class models. For each model the figure
4
+ shows the 10 disease classes (rows) with the original fundus image (left) and the
5
+ Grad-CAM heatmap overlay (right).
6
+
7
+ ## Generation
8
+ - Library: `pytorch-grad-cam`
9
+ - Target layer: last convolutional block of each backbone
10
+ - CLIP uses input-gradient saliency (no convolutional layer at the same semantic level)
11
+ - Foundation transformer models (DINOv2-L, RETFound, Swin-B) require a different attention
12
+ rollout / hookable layer and are not included in this v1 Grad-CAM batch.
13
+
14
+ ## Files
15
+ - `gradcam_vgg19.png`
16
+ - `gradcam_resnet50.png`
17
+ - `gradcam_resnet101.png`
18
+ - `gradcam_densenet121.png`
19
+ - `gradcam_inception_v3.png`
20
+ - `gradcam_clip_openai.png`
gradcam/gradcam_clip_openai.png ADDED

Git LFS Details

  • SHA256: 4b658b248a231ab368fbb6fb126fc635e525b1abfb9a3fc1781d0ebde208a7ef
  • Pointer size: 132 Bytes
  • Size of remote file: 2.53 MB
gradcam/gradcam_densenet121.png ADDED

Git LFS Details

  • SHA256: 1450d7f6b1eaa2d2f4514749e239574d5379c9bfbc8a7c93474f8366e398e362
  • Pointer size: 132 Bytes
  • Size of remote file: 2.49 MB
gradcam/gradcam_inception_v3.png ADDED

Git LFS Details

  • SHA256: c27b417d69e8b3166c1a8dc978026531be7ec762e102841d7772f262de338ed1
  • Pointer size: 132 Bytes
  • Size of remote file: 2.71 MB
gradcam/gradcam_resnet101.png ADDED

Git LFS Details

  • SHA256: f90a6245479b904222e67989ae5632de9ea8da4012ff892db1a25da41a4ae695
  • Pointer size: 132 Bytes
  • Size of remote file: 2.49 MB
gradcam/gradcam_resnet50.png ADDED

Git LFS Details

  • SHA256: c82177c445aabe0b2c7ebf1f4ec780a29e3888e823fe3d199a864065b1baae4c
  • Pointer size: 132 Bytes
  • Size of remote file: 2.5 MB
gradcam/gradcam_vgg19.png ADDED

Git LFS Details

  • SHA256: 5df1866995f613385ee33600f2bc6cfb8348fcecdf06341c7179498e5db9816a
  • Pointer size: 132 Bytes
  • Size of remote file: 2.49 MB