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

Method __init__

pycontrast/learning/linear_trainer.py:16–17  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

14class LinearTrainer(BaseTrainer):
15 """trainer for Linear evaluation"""
16 def __init__(self, args):
17 super(LinearTrainer, self).__init__(args)
18
19 def logging(self, epoch, logs, lr=None, train=True):
20 """ logging to tensorboard

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected