MONAI Template
MONAI template for training of medical deep learning, modified from our pure Pytorch Template.
- copy from Pytorch Template and modify Dataloader
- modify
trainer.py
to MONAI-based implementation - usage example
- Create conda environment,
python>=3.10
conda create -n pytorch python=3.10
- Install PyTorch, see more in PyTorch - Get Started
conda install pytorch==1.13.1 torchvision==0.14.1 pytorch-cuda=11.6 -c pytorch -c nvidia
- Install MONAI, see more in MONAI - Installation Guide
pip install monai==1.3.0
- Install requirements
pip install -r requirements.txt
# Optional
pip install -r requirements_optional.txt