I have noticed that in train.py and eval.py you have import a FocalLoss class which is then used as criterion for both training and evaluating.
But I couldn't find relevant definition of this loss function in both the paper and the source code.
Would you mind sharing the FocalLoss class definition ?
I have noticed that in train.py and eval.py you have import a FocalLoss class which is then used as criterion for both training and evaluating.
But I couldn't find relevant definition of this loss function in both the paper and the source code.
Would you mind sharing the FocalLoss class definition ?