Downloads · 30 days
0
utkarshhh29/OcuNetV4
OcuNetV4 is a image classification model from utkarshhh29. Use it when you need a label for an image. The card lists the license as apache-2.0.
OcuNet v4 is an advanced multi-label deep learning model designed for ophthalmic disease screening using retinal fundus images. Based on the EfficientNet-B3 architecture, it classifies images into 30 distinct categori…
Downloads · 30 days
0
Access
Public
Updated Feb 23, 2026
Repo size
160 MB
Likes
0
Public
Click a slice to open those files.
.pth160 MB · 100%
From the Hugging Face model README
OcuNet v4 is an advanced multi-label deep learning model designed for ophthalmic disease screening using retinal fundus images. Based on the EfficientNet-B3 architecture, it classifies images into 30 distinct categories, including 28 specific diseases, a general “Disease Risk” class, and a “Normal” class. The model serves as a robust clinical decision support tool capable of detecting concurring pathologies in a single image.
The model was trained on a comprehensive compilation of datasets comprising 23,659 images in total:
Data Splits:
The model predicts the following conditions:
Disease_Risk, DR (Diabetic Retinopathy), ARMD (Age-related Macular Degeneration), MH (Macular Hole), DN (Diabetic Neuropathy), MYA (Myopia), BRVO, TSLN, ERM, LS, MS, CSR, ODC (Optic Disc Cupping), CRVO, AH, ODP, ODE, AION, PT, RT, RS, CRS, EDN, RPEC, MHL, CATARACT, GLAUCOMA, NORMAL, RD (Retinal Detachment), RP (Retinitis Pigmentosa)The model's optimal performance was achieved at Epoch 74:
(Note: Multi-label classification with 30 classes containing extremely rare and concurrent pathologies typically yields lower raw F1/mAP metric scales compared to binary classification. Per-class metrics showcase higher reliability on prevalent diseases like DR, Glaucoma, and Myopia).
You can use the model with the customized prediction pipeline included in the OcuNet repository:
from predict import ImprovedMultiLabelClassifier
# Initialize the model with confidence thresholds
classifier = ImprovedMultiLabelClassifier(
checkpoint_path="models/ocunetv4.pth",
config_path="config/config.yaml"
)
# Run Inference
result = classifier.predict("path/to/retinal_image.jpg")
# Print detected diseases
print(f"Detected: {result['detected_diseases']}")
for disease, prob in result['probabilities'].items():
print(f"{disease}: {prob:.2%}")
This model is developed for research and educational purposes. It must thoroughly undergo clinical trials and obtain appropriate regulatory approval before deployment in real-world clinical environments.