MCPcopy Create free account
hub / github.com/HobbitLong/PyContrast / __init__

Method __init__

pycontrast/learning/contrast_trainer.py:21–22  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

19class ContrastTrainer(BaseTrainer):
20 """trainer for contrastive pretraining"""
21 def __init__(self, args):
22 super(ContrastTrainer, self).__init__(args)
23
24 def logging(self, epoch, logs, lr):
25 """ logging to tensorboard

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected