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

Function is_eval

utils/train.py:58–59  ·  view source on GitHub ↗
(epoch, config)

Source from the content-addressed store, hash-verified

56
57
58def is_eval(epoch, config):
59 return epoch > int(config.checkpoint_start_epoch) or epoch == 1 or epoch % 10 == 0
60
61
62class gpu_timer:

Callers 1

train.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected