from local
This commit is contained in:
parent
dfe76b31bd
commit
9f34858572
Binary file not shown.
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user