MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / after_train

Method after_train

detectron2/engine/train_loop.py:150–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 h.before_train()
149
150 def after_train(self):
151 self.storage.iter = self.iter
152 for h in self._hooks:
153 h.after_train()
154
155 def before_step(self):
156 # Maintain the invariant that storage.iter == trainer.iter

Callers 1

trainMethod · 0.95

Calls 1

after_trainMethod · 0.45

Tested by

no test coverage detected