John-Yao / focal_loss_pytorch

2 stars 0 forks source link

focal_loss_pytorch

python version: python3.6
os version: Ubuntu 16.04 Kernel 4.4.0-81-generic
Objective:focal_loss.py is created for caculate pixel-wise focal loss
Attention: the code hasn't been used to train network. Maybe there are some bugs!
Paper:https://arxiv.org/pdf/1708.02002.pdf
Thanks to https://github.com/clcarwin/focal_loss_pytorch
How to test: run "python3 focal_loss.py" in shell

ToDo:

Test Result: