Thanks for sharing your code. From the documentation, I understand that the mask needs to be in binary format. For multi-label segmentation, the masks need to be encoded in a one-hot format. Could you please provide guidance on how the folder containing one-hot encoded data should be organized? Additionally, is it possible to include a relevant function in your repository? I am working on a segmentation task that requires distinguishing three labels: 0 for background, 1 for left hippocampus, and 2 for right hippocampus. Could you please guide me on how to generate the binary masks?
Thanks for sharing your code. From the documentation, I understand that the mask needs to be in binary format. For multi-label segmentation, the masks need to be encoded in a one-hot format. Could you please provide guidance on how the folder containing one-hot encoded data should be organized? Additionally, is it possible to include a relevant function in your repository? I am working on a segmentation task that requires distinguishing three labels: 0 for background, 1 for left hippocampus, and 2 for right hippocampus. Could you please guide me on how to generate the binary masks?
Thanks.