selfeeg.losses
This module collects all the losses implemented for the contrastive learning algorithms of the ssl module.
losses.losses module
Functions
Pytorch implementation of the Barlow Twins loss function as presented in [barlow] . |
|
Simple pytorch implementation of the BYOL loss function presented in [BYOL] . |
|
Simple implementation of the MoCo loss function [moco2]. |
|
|
|
Simple implementation of the SimSiam [simsiam] loss function with the possibility to not normalize tensors. |
|
Pytorch implementation of the VICReg loss function [VIC] . |