Skip to content

About

Classification of left and right eyes from retinal Doppler holography

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

LeftRightEyeClassification

Hugging Face

An eye laterality (left / right) classification pipeline for mean retinal Doppler holography moment-0 images generated by HoloDoppler.

Repository structure

├── notebooks/   # Training, evaluation and experiment notebooks
├── src/libs/    # Helper functions used by the notebooks
├── dataset/     # Datasets
└── other/       # Extra files (articles, information, weights)

Installation

The project uses uv and requires Python ≥ 3.14.

uv sync

Dataset

Dataset utilities live in src/libs/dataset.py and are used throughout the project.

  1. Get a CSV listing the dataset images.
  2. Download the images locally with download_images.
  3. 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).

Notebooks

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, …)

Training configuration

All parameters used to train the final YOLO model are stored in other/information/model_args.yaml.

About

Classification of left and right eyes from retinal Doppler holography

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages