nnUNet icon indicating copy to clipboard operation
nnUNet copied to clipboard

LABEL IN DATASET.JSON WHEN I USE SPIDER DATASET

Open lamtaynha1234 opened this issue 1 year ago • 1 comments

this problem occurs when I do labeling in dataset.json file. The label of the data is as follows: 100 is canal 1 -> 7 is Veterbra 201 -> 207 is disk please help me image

lamtaynha1234 avatar Aug 23 '24 13:08 lamtaynha1234

For example, if the label value is 100 as you mentioned, it should be directly converted to 8, rather than explained in the dataset.json. The same applies to 201-207; the values should be converted to 9-15. You can refer to the code for label conversion here: https://github.com/MIC-DKFZ/nnUNet/tree/master/nnunetv2/dataset_conversion.

gaojh135 avatar Oct 01 '24 11:10 gaojh135

Hi, @lamtaynha1234, sorry for the late reply. I can only reiterate what @gaojh135 has already mentioned above. The actual labels in your labels files should be 0-15 as indicated in your dataset.json and not values like "206", "207".

saikat-roy avatar Jun 01 '25 12:06 saikat-roy