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:
-
(encoderModel) –The encoder model.
-
(projectorModel, default:None) –The projector model. Defaults to None.