from local

This commit is contained in:
dohe0342 2022-12-09 16:28:42 +09:00
parent dfe76b31bd
commit 9f34858572
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -876,9 +876,13 @@ class MetricsTracker(collections.defaultdict):
for k, v in self.items(): for k, v in self.items():
if k == "frames" or k == "utterances": if k == "frames" or k == "utterances":
continue continue
#norm_value = (
# float(v) / num_frames if "utt_" not in k else float(v) / num_utterances
#)
norm_value = ( norm_value = (
float(v) / num_frames if "utt_" not in k else float(v) / num_utterances float(v) / num_utterances
) )
ans.append((k, norm_value)) ans.append((k, norm_value))
return ans return ans