Skip to content

How to

This page is the fastest way to find the right OpenRetina entry point for your goal.

Choose your workflow

Hydra and Lightning: which path should I pick?

OpenRetina supports two main training workflows:

Hydra + Lightning (recommended for most users): - Best for reproducible experiments and collaborative work. - Uses composable YAML configs (data_io, dataloader, model, trainer, etc.). - Launches with one command (openretina train ...). Manual Python + Lightning (advanced/prototyping): - Best when you are quickly iterating on custom code. - You build loaders and Trainer(...) directly in Python. - You manage reproducibility and config tracking yourself.

For a practical comparison and examples, see Unified Training Script.

Common starting points

I have my own HDF5-like data and want to train quickly: - Start from config: configs/hdf5_core_readout.yaml I want a known-good multi-session training config: - Start from config: configs/hoefling_2024_core_readout_low_res.yaml I want to create a new outer config for my own dataset: - Start from template: configs/template_outer_config.yaml

For a detailed "which config to copy" walkthrough, see Config templates.

Additional examples

Mix and match model and dataset configs: - See Mix and match models and datasets for a concrete cross-dataset example and compatibility caveats.