From 8094401a6d341dd74408386f9861415756ee910b Mon Sep 17 00:00:00 2001 From: mrq Date: Sun, 5 Mar 2023 19:48:24 +0000 Subject: [PATCH] print in e-notation for LR --- src/utils.py | 2 +- tortoise-tts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.py b/src/utils.py index 69ad56d..8200118 100755 --- a/src/utils.py +++ b/src/utils.py @@ -808,7 +808,7 @@ class TrainingState(): self.metrics['loss'] = [] if 'learning_rate_gpt_0' in self.info: - self.metrics['loss'].append(f'LR: {"{:.9f}".format(self.info["learning_rate_gpt_0"])}') + self.metrics['loss'].append(f'LR: {"{:e}".format(self.info["learning_rate_gpt_0"])}') if len(self.losses) > 0: self.metrics['loss'].append(f'Loss: {"{:.3f}".format(self.losses[-1]["value"])}') diff --git a/tortoise-tts b/tortoise-tts index 0f3261e..6fcd8c6 160000 --- a/tortoise-tts +++ b/tortoise-tts @@ -1 +1 @@ -Subproject commit 0f3261e0717be9e3a59b652fea7c1a388c8fa43a +Subproject commit 6fcd8c604f066e4e346da522bd14e6670395025f