MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / check_frequency

Method check_frequency

cldm/logger.py:83–84  ·  view source on GitHub ↗
(self, check_idx)

Source from the content-addressed store, hash-verified

81 pl_module.train()
82
83 def check_frequency(self, check_idx):
84 return check_idx % self.batch_freq == 0
85
86 # def on_train_batch_end(self, trainer, pl_module, outputs, batch, batch_idx, dataloader_idx):
87 def on_train_batch_end(self, trainer, pl_module, outputs, batch, batch_idx):

Callers 1

log_imgMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected