Focal Loss + Label Smoothing

I’m trying to implement focal loss with label smoothing, I used this implementation kornia and tried to plugin the label smoothing based on this implementation with Cross-Entropy Cross entropy + label smoothing but the loss yielded doesn’t make sense.

Focal loss + LS (My implementation): Train loss 2.9761913128770314 accuracy 0.40519300987212814
Focal loss(Kornia implementation): Train loss 0.0602325857395604 accuracy 0.8621959099036829