I guess is the patch size. You want to segment something very small compared to the all patch that the network is extracting. I had the same problem, at one point the loss was shooting to 1 because the object was too small.
Otherwise, another reason is the learning rate, and you have to change it and pay attention to the optimizer as well, for that lr value.
I guess is the patch size. You want to segment something very small compared to the all patch that the network is extracting. I had the same problem, at one point the loss was shooting to 1 because the object was too small.
Otherwise, another reason is the learning rate, and you have to change it and pay attention to the optimizer as well, for that lr value.