# DR foundation-model external-validation study
# Python 3.14.7 (Windows). Pinned to the versions installed for Phase 2-3.
#
# Install:  python -m venv .venv
#           .venv\Scripts\python.exe -m pip install -r requirements.txt
#
# Phase 2-3 (data audit + preprocessing) -- direct dependencies:
numpy==2.5.3
pandas==3.0.5
pillow==12.3.0
scikit-learn==1.9.0
scipy==1.18.1
matplotlib==3.11.1

# Phase 3+ (Dataset/DataLoader) and training (Phase 4-5).
# CUDA 12.8 build for the local RTX 5060 (Blackwell, sm_120):
#   pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128
# For CPU-only machines drop the index-url; versions will differ.
torch==2.11.0
torchvision==0.26.0
torchmetrics==1.9.0

# Added in later phases:
timm==1.0.29                    # Phase 5   RETFound ViT-L backbone
pytorch-grad-cam                # Phase 7   Grad-CAM++ / ViT Grad-CAM explainability
opencv-python-headless          # Phase 15  CLAHE ablation variant
#   Phase 9  DeLong / bootstrap are self-contained in scripts/phase9_stats.py (no statsmodels)
