from local

This commit is contained in:
dohe0342 2023-01-10 13:48:12 +09:00
parent cea16c0310
commit 57598f9be6
2 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@ -888,15 +888,15 @@ 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 = ( norm_value = (
# float(v) / num_frames if "utt_" not in k else float(v) / num_utterances float(v) / num_frames if "utt_" not in k else float(v) / num_utterances
#) )
#norm_value = ( #norm_value = (
# float(v) / num_utterances # float(v) / num_utterances
#) #)
norm_value = ( #norm_value = (
float(v) # float(v)
) #)
ans.append((k, norm_value)) ans.append((k, norm_value))
return ans return ans