Installation¶
Requires Python 3.10 or newer. PyTorch is optional.
Verify the install:
PyTorch¶
DDACSDataset and the rest of ddacs.pytorch require PyTorch.
This pulls the default PyTorch wheel from PyPI (CPU on Windows and macOS, CUDA 12.x on Linux). For a different build (CUDA, ROCm, MPS) install PyTorch first from the PyTorch selector, then pip install ddacs without the extra. The package does not pin PyTorch, so an existing wheel is preserved.
Advanced¶
Documentation build¶
Then mkdocs serve from the repository root for a live preview at http://127.0.0.1:8000.
Development install¶
git clone https://github.com/BaumSebastian/DDACS.git
cd DDACS
pip install -e .[dev,torch]
pre-commit install
[dev] adds pytest, black, ruff, bumpver, pre-commit, and jupyter.