MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / DEFAULT_MONITORS

Function DEFAULT_MONITORS

tensorpack/train/config.py:38–48  ·  view source on GitHub ↗

Return the default monitors, which will be used in :class:`TrainConfig` and :meth:`Trainer.train_with_defaults`. They are: 1. TFEventWriter() 2. JSONWriter() 3. ScalarPrinter()

()

Source from the content-addressed store, hash-verified

36
37
38def DEFAULT_MONITORS():
39 """
40 Return the default monitors,
41 which will be used in :class:`TrainConfig` and :meth:`Trainer.train_with_defaults`.
42 They are:
43
44 1. TFEventWriter()
45 2. JSONWriter()
46 3. ScalarPrinter()
47 """
48 return [TFEventWriter(), JSONWriter(), ScalarPrinter()]
49
50
51class TrainConfig(object):

Callers 1

train_with_defaultsMethod · 0.85

Calls 3

TFEventWriterClass · 0.85
JSONWriterClass · 0.85
ScalarPrinterClass · 0.85

Tested by

no test coverage detected