I have image data of size 410x1x657x1625 where 410 are the number of images. I have masks of same dimensions where a pixel value is 255 if its part of text or else 0.
Now i train my network with loss function SmoothL1Loss  without sizeAverage, adding up the loss and then dividing by total number of pixels i.e.  410x1x657x1625,  the per pixel loss turns out to be approximately 35.
But when I plot the predicted values or the predicted mask for the train data I get 0 for each pixel.
I can’t understand the problem.