MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / on_epoch_start

Method on_epoch_start

tasks/base_task.py:114–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

112 utils.load_ckpt(self.__getattr__(current_model_name), ckpt_base_dir, current_model_name, force, strict)
113
114 def on_epoch_start(self):
115 self.training_losses_meter = {'total_loss': utils.AvgrageMeter()}
116
117 def _training_step(self, sample, batch_idx, optimizer_idx):
118 """

Callers 1

run_training_epochMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected