bot66 / SoftmaxFocalLoss

An intuitive pytorch implementation of softmax focal loss which can be used to train classification and segmentation tasks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SoftmaxFocalLoss

I can't find a decent pytorch implementation of softmax focal loss for Semantic Segmentation. So I code one on my own.

type python loss.py to test the loss.

About

An intuitive pytorch implementation of softmax focal loss which can be used to train classification and segmentation tasks.

License:MIT License


Languages

Language:Python 100.0%