Downloads · 30 days
0
shubhamasti/dr-models
dr-models is a machine learning model from shubhamasti. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for keras.
Model for detecting Diabetic Retinopathy from retinal fundus images.
Downloads · 30 days
0
Access
Public
Updated Jul 28, 2026
Repo size
248 MB
Likes
0
Public
Click a slice to open those files.
.h5248 MB · 100%
From the Hugging Face model README
Model for detecting Diabetic Retinopathy from retinal fundus images.
Trained as part of the paper: Automated and Explainable Detection of Multiple Diseases from Retinal Fundus Images


from keras.models import model_from_json
import json
model = keras.Model.from_config(config)
model.load_weights("model.weights.h5")
with open("deep_learning/ResNet50_enhanced/ResNet50_pretrained_2000_enhanced.json", 'r') as json_file:
model_json = json_file.read()
model = model_from_json(model_json)
model.load_weights("deep_learning/ResNet50_enhanced/ResNet50_pretrained_2000_enhanced.weights.h5")
model.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])
@inproceedings{masti2026automated,
title={Automated and Explainable Detection of Multiple Diseases from Retinal Fundus Images},
author={Masti, Shubha and Prasad, T. and Srinivasa, G.},
booktitle={Image Processing and Vision Engineering. IMPROVE 2025},
series={Communications in Computer and Information Science},
volume={2628},
publisher={Springer},
year={2026},
doi={10.1007/978-3-032-01169-5_9}
}