Skip to content

SOTA Open Source TTS

Fix incorrect batch time

Lengyue8f75f764ad99
diff --git a/speech_lm/train.py b/speech_lm/train.py
index c899dca..3f80539 100644
--- a/speech_lm/train.py
+++ b/speech_lm/train.py
@@ -122,6 +122,7 @@ def train(
trackers["model_time"].append(time.time() - model_begin_time)
if is_accumulating:
+ last_batch_time = time.time()
continue
# Check all trackers has the same length