Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Focal Loss with Label Smoothing

Label Smoothing applied in Focal Loss
This code is based on the below papers.

How to use

criteria = FocalLossWithSmoothing(num_classes)

logits = model(inputs)
loss = criteria(logits, labels)

optim.zero_grad()
loss.backward()
optim.step()

About

Label Smoothing applied in Focal Loss

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages