MCPcopy Create free account
hub / github.com/VCIP-RGBD/DFormer / update_iteration

Method update_iteration

utils/engine/engine.py:97–99  ·  view source on GitHub ↗
(self, epoch, iteration)

Source from the content-addressed store, hash-verified

95 self.state.register(**kwargs)
96
97 def update_iteration(self, epoch, iteration):
98 self.state.epoch = epoch
99 self.state.iteration = iteration
100
101 def save_checkpoint(self, path):
102 logger.info("Saving checkpoint to file {}".format(path))

Callers 1

train.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected