MCPcopy Index your code
hub / github.com/SooLab/CGFormer / display

Method display

utils/misc.py:105–108  ·  view source on GitHub ↗
(self, batch)

Source from the content-addressed store, hash-verified

103 self.prefix = prefix
104
105 def display(self, batch):
106 entries = [self.prefix + self.batch_fmtstr.format(batch)]
107 entries += [str(meter) for meter in self.meters]
108 logger.info(" ".join(entries))
109
110 def _get_batch_fmtstr(self, num_batches):
111 num_digits = len(str(num_batches // 1))

Callers 1

trainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected