ITF_pelvic / Code /record.txt
JasonXU-1998's picture
Upload folder using huggingface_hub
71cf8b5 verified
修改了 /research/phd_y3/pelvic_project/Code/nnUNet/nnunetv2/training/nnUNetTrainer/nnUNetTrainer.py 新增786-788三行,取消左右镜像
inference command:
nnUNetv2_predict -i /research/phd_y3/pelvic_project/Code/for_nnUNet/nnUNet_raw_data/Dataset001_pelvic_three_parts/imagesTs -o /research/phd_y3/pelvic_project/Code/for_nnUNet/inference_results/three_parts_Ts -d 001 -c 3d_lowres -f 0 -chk /research/phd_y3/pelvic_project/Code/for_nnUNet/nnUNet_results/Dataset001_pelvic_three_parts/nnUNetTrainer__nnUNetPlans__3d_lowres/fold_0/checkpoint_best.pth
train with new trainer:
nnUNetv2_train 001 3d_fullres 0 -tr nnUNetTrainerPelvic
new inference command:(这里一定要记得disable tta,要不然nnunet在inference的时候还是会做镜像反转)
nnUNetv2_predict -i /research/phd_y3/pelvic_project/Data/test_image_cases -o /research/phd_y3/pelvic_project/Code/for_nnUNet/inference_results/three_parts_Ts_fullres -d 001 -c 3d_fullres -f 0 -chk /research/phd_y3/pelvic_project/Code/for_nnUNet/nnUNet_results/Dataset001_pelvic_three_parts/nnUNetTrainer__nnUNetPlans__3d_fullres/fold_0/checkpoint_best.pth --disable_tta