SynthSeg icon indicating copy to clipboard operation
SynthSeg copied to clipboard

len(generation_labels.npy) != len(synthseg_segmentation_labels_2.0.npy)

Open Jesse-Phitidis opened this issue 1 month ago • 0 comments

I noticed that the lengths of synthseg_segmentation_labels_2.0.npy and synthseg_topological_classes_2.0.npy are 55, whereas the length of their version 1 counterparts, and indeed generation_labels.npy are 54.

The extra value is an additional 0 in output labels between the newly added CSF label 24, and the left cerebral white matter label 2.

Is there a missing file (e.g. generation_labels_2.0.npy) with an extra generation label which is mapped to background in the model output? There are no additional labels in the 20 provided training label maps that are able to help me figure this out.

I am trying to finetune the V2 model, and it would be helpful to make sure I am using all the same generation labels!

Thanks and congratulation on this very useful tool.

Jesse-Phitidis avatar Nov 23 '25 07:11 Jesse-Phitidis