Safemotion Lib
Loading...
Searching...
No Matches
Namespaces | Functions
cross_entroy_loss.py File Reference

Go to the source code of this file.

Namespaces

namespace  fastreid
 
namespace  fastreid.modeling
 
namespace  fastreid.modeling.losses
 
namespace  fastreid.modeling.losses.cross_entroy_loss
 

Functions

 fastreid.modeling.losses.cross_entroy_loss.log_accuracy (pred_class_logits, gt_classes, topk=(1,))
 
 fastreid.modeling.losses.cross_entroy_loss.cross_entropy_loss (pred_class_logits, gt_classes, eps, alpha=0.2)