The following repository contains the code used for my thesis.
The following command executes the training process consisting of:
- Preprocessing
- Augmentation
- 3D-UNet Model
- FP16 training & FP32 k-fold Validation (3-fold)
- Simultaneous logging to W&B
python3 train.py -dataset <name> -loss <name> -dir <path_to_data> -dir_m <model_save>
- Define your dataset via TorchIO like the examples provided in /datasets
- Define your transformations that should be used
- Add them to the get_dataset() function
- Define the -dir with the path, where the data lays, and -dir_m with the directory, where the model should be saved
- Further dependencies can be checked in /utils/args_parser.py
- 22GB VRAM GPU needed for data allocation and model allocation
- Listed libraries in setup.py
- Time!