Brats21_KAIST_MRI_Lab
Brats21_KAIST_MRI_Lab copied to clipboard
How to run full pipeline
I wanted to clarify some things about running the code from scratch.
- Do I need to clone the original nnUNet repo or does this repo work as a standalone?
- Is there a preprocessing script? I saw some code in the task500 file that looks like it but am unsure if jumping straight to the training would do the proper preprocessing
- Are the only commands to run the training and the inference?
Thanks
Hi @DanielNajarian,
- You can run this repo as a standalone. This repo contained all functionalities of the original nnUNet repo.
- You should first convert your data to the expected format (detailed here). Then, you can run the preprocessing command of nnUNet to automatically prepare your dataset.
- I include only the sample commands for training and inference. For more commands, you can check out the codes or the original nnUNet repo.
Thanks.
When running the model, I get an error on the nnunet import statement saying "ModuleNotFoundError: No module named 'nnunet'". Should I pip install nnunet? It wasn't in the requirements.txt and I assumed it wasn't needed since the folder was in the repo.
Please run this command at the root folder to install the repo as a library:
pip install -e .