nnUNetV2修改笔记-D2

nnUNetV2修改笔记-D2
Wang Zihao首先完成了原始nnUNetV2和EAB-nnUNetV2的全部五折100e训练。
之后按照官方的指南:
Automatically determine the best configuration
Once the desired configurations were trained (full cross-validation) you can tell nnU-Net to automatically identify
the best combination for you:
1 | nnUNetv2_find_best_configuration DATASET_NAME_OR_ID -c CONFIGURATIONS |
CONFIGURATIONS
hereby is the list of configurations you would like to explore. Per default, ensembling is enabled
meaning that nnU-Net will generate all possible combinations of ensembles (2 configurations per ensemble). This requires
the .npz files containing the predicted probabilities of the validation set to be present (use nnUNetv2_train
with
--npz
flag, see above). You can disable ensembling by setting the --disable_ensembling
flag.
See nnUNetv2_find_best_configuration -h
for more options.
nnUNetv2_find_best_configuration will also automatically determine the postprocessing that should be used.
Postprocessing in nnU-Net only considers the removal of all but the largest component in the prediction (once for
foreground vs background and once for each label/region).
Once completed, the command will print to your console exactly what commands you need to run to make predictions. It
will also create two files in the nnUNet_results/DATASET_NAME
folder for you to inspect:
inference_instructions.txt
again contains the exact commands you need to use for predictionsinference_information.json
can be inspected to see the performance of all configurations and ensembles, as well
as the effect of the postprocessing plus some debug information.
运行了nnUNetv2_find_best_configuration DATASET_NAME_OR_ID -c CONFIGURATIONS 。
显示忘了保存,但是好像几种后处理都不大可能带来益处。最后生成了文件
1 | inference_instructions.txt |