This repo is mianly used to record how to train 2d image using nnUNetv2.
· windows10 · NVIDIA RTX A6000
- nnunetv1 not supports 2d image, if u want to train 2d image, u need to transfer 2d img to fake 3d img, but now nnunetv2 supports 2d image, so we just know the training steps and can to train.
- nnunetv2 just appects RGB 3 channels image, gray image is not appected. (it can be PNG, TIF, etc. Mine is PNG)
- The suffix must be with '_0000'
- Download nnunetv2 here
- Open the code u download, and create 'dataset' file. In the 'dataset' file, create 3 files.
- create a new env, download GPU version Pytorch, and 'pip install -e .'
- go to 'path.py' and change 3 path variables into yours
use the 'Dataset_120_conversation.py'
use the command
use the command
use the command
refer to this website