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

Method on_train_batch_end

cldm/logger.py:87–90  ·  view source on GitHub ↗
(self, trainer, pl_module, outputs, batch, batch_idx)

Source from the content-addressed store, hash-verified

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):
88 if not self.disabled:
89 # if pl_module.current_epoch % 20 == 0:
90 self.log_img(pl_module, batch, batch_idx, split="train")

Callers

nothing calls this directly

Calls 1

log_imgMethod · 0.95

Tested by

no test coverage detected