Open mshmoon opened 6 years ago
Every label of image have a white margin , I want to ignore the margin when I train net ,But I do not know how to do,So i ask you this question Could you help me?
You should be able to provide custom weights to the loss function so that you accumulate no gradients from the white margins.
Every label of image have a white margin , I want to ignore the margin when I train net ,But I do not know how to do,So i ask you this question Could you help me?