CerebNet.utils.checkpoint¶ CerebNet.utils.checkpoint.is_checkpoint_epoch(cfg, cur_epoch)[source]¶ Check if checkpoint need to be saved. Parameters: cfgyacs.config.CfgNodeThe config node. cur_epochintThe current epoch number to check if this is the last epoch.