From 51ddc205cde09dd6ee0b0f76483930cf1b82391b Mon Sep 17 00:00:00 2001 From: mrq Date: Sun, 12 Mar 2023 18:14:36 +0000 Subject: [PATCH] update submodules --- modules/tortoise-tts | 2 +- src/utils.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/tortoise-tts b/modules/tortoise-tts index fec0685..97cd58e 160000 --- a/modules/tortoise-tts +++ b/modules/tortoise-tts @@ -1 +1 @@ -Subproject commit fec068540543522d1db94285818ec1c26d6bb0ef +Subproject commit 97cd58e7eba06b91fc6b0c77029ad72022b8c231 diff --git a/src/utils.py b/src/utils.py index d3af4e4..0b2aa77 100755 --- a/src/utils.py +++ b/src/utils.py @@ -879,6 +879,8 @@ class TrainingState(): elif line.find('INFO: Validation Metrics:') >= 0: data = json.loads(line.split("INFO: Validation Metrics:")[-1]) data['mode'] = "validation" + else: + data = None if data is not None: if ': nan' in line and not self.nan_detected: