Dear engineers,

I am sorry if my question might seem silly, but I would like to learn. I am quite new to programming and segmentation tasks. In effect, I am having a dataset with labels that are not in the form of [0,1] as It should be for a binary segmentation task. The readme of the data says that the probability of the label ranges from 0 to 1 and that I should use a threshold value of 0.5 to adjust the data before feeding into the network. Please, I would like to get a better understanding of this concept as well as how I can modify the label before feeding the data into the network. When I input the data and labels to the network without thresholding the labels, the network cannot detect anything.
Any suggestions and/or comments would be highly appreciated
Best regards,