3d-viz-score-cam
Visualizing 3D ResNet for Medical Image Classification With Score-CAM
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.4%) to scientific vocabulary
Keywords
Repository
Visualizing 3D ResNet for Medical Image Classification With Score-CAM
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Visualizing 3D ResNet for Medical Image Classification With Score-CAM
Intepretability is one of the concerns regarding the application of AI, or, to be exact, deep learning, in the medical field, especially medical image recognition. In a venture seeking to explain what is going on or what the network perceives computationally, one can leverage the class activation map (CAM) of the model. Score-CAM, one of the CAM variants, breakthroughs the preceding CAM methods by dropping the reliance on gradients. Instead, it benefits the full potential of the forward propagation of the model, running inference by normalized-weighting via element-wise product with the input. Then, the output logit of the target category is combined with the CAM acquired before to get the final outcome. In this project, the 3D version of ResNet is employed. To evaluate the aforementioned methods, the OrganMNIST3D dataset of MedMNIST is used. The deletion area under the curve (DAUC) and the insertion area under the curve (IAUC) are adopted to measure the performance of Score-CAM.
Experiment
Catch up on this link to comprehend the training, testing, and visualization pertaining to this project.
Result
Image Classification
Quantitative Result
The table below exhibits the outcome, quantitatively.
Test Metric | Score ------------ | ------------- Loss | 0.570 Accuracy | 89.79%
Accuracy and Loss Curve
Accuracy curves of 3D ResNet on the train and validation sets.
Loss curves of 3D ResNet on the train and validation sets.
Visualization
Quantitative Result
Overall DAUC and IAUC scores of the Score-CAM on the 4th layer of 3D ResNet:
Test Metric | Score ------------ | ---------------- DAUC | 0.2576 ± 0.1710 IAUC | 0.6750 ± 0.1944
Qualitative Result
The following are snapshots of the individual DAUC and IAUC scores and their Score-CAM outcomes.
The result of the bladder.
The result of the heart.
The result of the left kidney.
The result of the right kidney.
The result of the left lung.
The result of the right lung.
The result of the spleen.
Citation
To cite this repository:
@misc{3dviz-scorecam,
title = {Visualizing 3D ResNet for Medical Image Classification With Score-CAM},
url = {https://github.com/reshalfahsi/3d-viz-score-cam},
author = {Resha Dwika Hefni Al-Fahsi},
}
Credit
- Learning Spatio-Temporal Features with 3D Residual Networks for Action Recognition
- Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networks
- RISE: Randomized Input Sampling for Explanation of Black-box Models
- RISE official code
- K3D Jupyter
- Interpretable Explanations of Black Boxes by Meaningful Perturbation
- Score-CAM official code
- MedMNIST v2-A large-scale lightweight benchmark for 2D and 3D biomedical image classification
- MedMNIST official web page
- MedMNIST official code
- PyTorch Lightning
Owner
- Name: Resha Dwika Hefni Al-Fahsi
- Login: reshalfahsi
- Kind: user
- Location: Yogyakarta, Indonesia
- Website: reshalfahsi.github.io
- Twitter: reshalfahsi
- Repositories: 80
- Profile: https://github.com/reshalfahsi
Experienced Tensorbender Strolling in the Latent Space
Citation (CITATION.cff)
cff-version: 1.2.0
message: "Thanks for citing this repository:"
title: "Visualizing 3D ResNet for Medical Image Classification With Score-CAM"
authors:
- family-names: Al-Fahsi
given-names: Resha Dwika Hefni
url: https://github.com/reshalfahsi/3d-viz-score-cam
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0