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

Method _after_epoch

tensorpack/callbacks/base.py:97–103  ·  view source on GitHub ↗

Called right after each epoch. Usually you should use the :meth:`trigger` callback to run something between epochs. Use this method only when something really needs to be run **immediately** after each epoch.

(self)

Source from the content-addressed store, hash-verified

95 self._after_epoch()
96
97 def _after_epoch(self):
98 """
99 Called right after each epoch.
100 Usually you should use the :meth:`trigger` callback to run something between epochs.
101 Use this method only when something really needs to be run **immediately** after each epoch.
102 """
103 pass
104
105 def before_run(self, ctx):
106 fetches = self._before_run(ctx)

Callers 1

after_epochMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected