Skip to main content

Guides

The guides assume the repository layout described in Project Structure and a CUDA GPU (CPU works but is slow for DINOv2 and the U-Net).

GuideGoalModules involved
InstallationEnvironment, dependencies, Galaxy10 downloadrequirements.txt, data_loader.py
Train a ClassifierSimpleCNN or EfficientNet-B0 with the shared training loopmodels.py, trainer.py
Run GradCAMHeat maps for a trained CNNgradcam.py
Run SegmentationOtsu masks, U-Net training and inferencesegmenter.py, unet.py
Compute MorphometryCAS / Gini / M20 on a set of imagesmorphometry.py

Analyses that exist only as notebooks (DINOv2 fine-tuning, fusion, uncertainty, attention morphometry) are listed in Project Structure.