focal_segmentation
focal_segmentation copied to clipboard
Is focalloss2d implementation correct?
Hello, I found you use pt = torch.exp(logpt)
to calculate probability, but which sample's probability is represented by pt
. I think pt
represents the probability of a sample, not the whole dataset.
Hello, I think I came up with similar problem, have you ever solved this issue? Hoping for your response.