Image-Segmentation-Loss-Functions icon indicating copy to clipboard operation
Image-Segmentation-Loss-Functions copied to clipboard

focal loss problem

Open ljc1231 opened this issue 4 years ago • 1 comments

focal_loss_sigmodv1 and focal_loss_sigmodv2 which is for 2D segmentation, could i use focal loss plus dice loss like dice_loss+a*focla_loss. and do you know What value is generally set for a when i use 2D segmentation,thx!

ljc1231 avatar Dec 24 '20 04:12 ljc1231

you can use any one,but i suggest use focal_loss_sigmodv1 fucntion,you can use mixed loss,the param a is depent on your task,may be have try to decide the value,in general a is 100 or more in 3d segmentation task

junqiangchen avatar Feb 05 '21 08:02 junqiangchen