KaihuaTang/Long-Tailed-Recognition.pytorch

Focal loss on ImageNet-LT

MiaoMiaoYoung opened this issue · 2 comments

Thank you for your extraordinary work. Would you like to provide the config code (.yaml) of Focal Loss in Imagenet-LT?

I didn't write a separate config file for the focal loss. I just use the following implementation of focal loss [1] to replace the cross_entropy loss on the original baseline

[1] https://github.com/clcarwin/focal_loss_pytorch

Thanks a lot~! (⁎˃ᴗ˂⁎)