one hot encode or not for segmentation when using dice loss
I am trying to perform binary semantic segmentation and using Dice loss as my loss function. I used to perform one-hot encoding in most of my segmentation tasks, especially when using cross-entropy loss. But I am confused if it is good practice and I should or shouldn't use one-hot encoding with dice loss?
Topic semantic-segmentation one-hot-encoding loss-function
Category Data Science