This repository contains the code for the DeepLearn2025 summer school.
The code aims to learn demographics from retinal fundus images using deep learning in two ways:
- Using the raw images as input and training a model to predict the demographics
- Using the RETFound features as input and training a model to predict the demographics
The code is organized as follows:
feature_extraction: folder with code to extract features from the retinal fundus images using RETFound. For convenience, the features are already available in thefeaturesfolder.extract_retfound_features.ipynb: notebook to extract the RETFound features from the raw images - Colab version here
demographics_prediction: folder with code to train models to predict the demographics:
Already trained models are available in the results folder, downloadable here as a zip file.
To download, run:
gdown https://drive.google.com/uc?id=1c0MXiUnsxstsIK0ETjD1ZBs9iU_kryHy