Downloads · 30 days
0
jeepaz/macular-attention-oct
macular-attention-oct is a machine learning model from jeepaz. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository hosts the fine-tuned model checkpoints developed as part of an MSc Computer Science dissertation at Keele University. The research focuses on evaluating and enhancing deep convolutional network archite…
Downloads · 30 days
0
Access
Public
Updated Aug 9, 2026
Repo size
314 MB
Likes
0
Public
Click a slice to open those files.
.pth303 MB · 97%
From the Hugging Face model README
This repository hosts the fine-tuned model checkpoints developed as part of an MSc Computer Science dissertation at Keele University. The research focuses on evaluating and enhancing deep convolutional network architectures for the automated classification of macular pathologies using optical coherence tomography (OCT) scans.
The primary objective is to advance clinical diagnostic pipelines by introducing spatial-channel attention mechanisms to legacy convolutional baselines, optimizing both diagnostic accuracy and model interpretability.
The models hosted in this repository were trained, evaluated, and benchmarked sequentially across three distinct architectural paradigms:
To maintain structural transparency, local explainability layers are generated dynamically via Gradient-weighted Class Activation Mapping (Grad-CAM), mapping the network's high-activation focus directly onto localized retinal lesions.
The models are trained and validated using the publicly available Kermany 2018 Retinal OCT Dataset (OCT2017).
Cross-sectional retinal B-scans are classified into four distinct clinical categories:
Performance matrix computed across the balanced 968-sample testing split (check the results under the Files & Versions tab):
| Model Architecture | Macro Precision | Macro Recall | Macro F1-Score | Overall Accuracy |
|---|---|---|---|---|
| ResNet50 Baseline | 0.9969 | 0.9969 | 0.9969 | 99.69% |
| ConvNeXt-Tiny Baseline | 0.9969 | 0.9969 | 0.9969 | 99.69% |
| ResNet50 + CBAM (Ours) | 1.0000 | 1.0000 | 1.0000 | 100.00% |
This repository and its source code are licensed under the MIT License and are restricted to academic, educational, and research use cases. If referencing this implementation, please cite the underlying dataset source:
@article{Kermany2018,
title={Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep Learning},
author={Kermany, Daniel S. and Goldbaum, Michael and Wen, Wenjia and Topol, Eric D. and Zhang, Kang and others},
journal={Cell},
volume={172},
number={5},
pages={1122--1131},
year={2018},
publisher={Elsevier}
}