torchsight.losses
module
Initialize the package.
Import directly to perform more beautiful imports.
See: http://mikegrouchy.com/blog/2012/05/be-pythonic-__init__py.html
Source code
"""Initialize the package.
Import directly to perform more beautiful imports.
See:
http://mikegrouchy.com/blog/2012/05/be-pythonic-__init__py.html
"""
from .focal import FocalLoss
from .ccs import CCSLoss
from .dlde import DLDENetLoss
Sub-modules
torchsight.losses.ccs
-
Implementation of the Classification vector-centered Cosine Similarity from the paper [One-shot Face Recognition by Promoting Underrepresented …
torchsight.losses.dlde
-
The criterion for the weighted DLDENet.
torchsight.losses.focal
-
Focal Loss module …