| funasr/train_utils/trainer.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
funasr/train_utils/trainer.py
@@ -465,7 +465,8 @@ batch_num_epoch = len(dataloader_train) self.log( epoch, batch_idx + kwargs.get("start_step", 0), batch_idx, log_step=batch_idx + kwargs.get("start_step", 0), step_in_epoch=self.step_in_epoch, batch_num_epoch=batch_num_epoch, lr=lr, @@ -634,11 +635,12 @@ tag="train", data_split_i=0, data_split_num=1, log_step=None, **kwargs, ): if (batch_idx + 1) % self.log_interval == 0: batch_idx = log_step if log_step is not None else batch_idx gpu_info = ( "GPU, memory: usage: {:.3f} GB, " "peak: {:.3f} GB, "