An eye laterality (left / right) classification pipeline for mean retinal Doppler holography moment-0 images generated by HoloDoppler.
├── notebooks/ # Training, evaluation and experiment notebooks
├── src/libs/ # Helper functions used by the notebooks
├── dataset/ # Datasets
└── other/ # Extra files (articles, information, weights)
The project uses uv and requires Python ≥ 3.14.
uv syncDataset utilities live in src/libs/dataset.py and are used throughout the project.
- Get a CSV listing the dataset images.
- Download the images locally with
download_images. - Generate the required datasets from that local folder of anonymised images.
Important
- Each subject must have at most one image per side.
- A subject must never appear in more than one split (train / valid / test).
| Notebook | Purpose |
|---|---|
kfold.ipynb |
5-fold cross-validation for model evaluation and hyperparameter selection |
train.ipynb |
Trains the final model on the full train set (100 images) and evaluates it on the test set (84 images) |
benchmark.ipynb |
Learning curve and other experiments for evaluating the model |
evaluate.ipynb |
Helpers to inspect model performance (accuracy, confusion matrix, …) |
All parameters used to train the final YOLO model are stored in other/information/model_args.yaml.