Hi,@bragancas
Thank you for sharing such a great repo.I have some confusion about the loss, could you give me some help ?
Q1: In the utils.py,focal_loss = (1+(label199)) * (1 - pt) ** self.gamma * BCE.Actually,focal_loss = self.alpha * (1 - pt) ** self.gamma * BCE,
I don't know why alpha=(1+(label199)) ,Could you give me some guidance?
Q2:When I use SurfaceLoss,I got a error:'function' object has no attribute 'shape' ,I don't know how to solve this bug. Could you give me some help ?
Thanks in advance.
Looking forward your reply.
Best.