MIC-DKFZ / nnUNet

Apache License 2.0
5.95k stars 1.77k forks source link

Region_based_train #2521

Closed TraffickerCH closed 3 days ago

TraffickerCH commented 1 month ago

I would like to know which JSON you are referring to when you say 'modify labels in dataset.json'?

The original dataset needs to be converted to MSD, but if the JSON file is modified, MSD conversion will not be possible. If I modify the json in nnUNet_processed, I find that Dice and loss are both Nan during training

gaojh135 commented 1 month ago

修改nnUNet_raw中的dataset.json,参照https://github.com/MIC-DKFZ/nnUNet/blob/master/documentation/region_based_training.md#how-do-you-use-it Modify the dataset.json in nnUNet_raw, refer to https://github.com/MIC-DKFZ/nnUNet/blob/master/documentation/region_based_training.md#how -do-you-use-it

e-FunJs commented 1 month ago

You can refer to https://github.com/MIC-DKFZ/nnUNet/blob/master/nnunetv2/dataset_conversion/Dataset137_BraTS21.py