simclr
SimCLR Trainer API
This module contains the implementation of a SimCLR trainer that can be used to train a model using the SimCLR approach.
Classes:
-
SimCLRTrainer
–A trainer for SimCLR
Classes
SimCLRTrainer
Creates a SimCLRTrainer.
If no projector is provided, a default one will be created based on paper.
References
Parameters:
-
encoder
(Model
) –The encoder model.
-
projector
(Model
, default:None
) –The projector model. Defaults to None.