mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
cea16c0310
commit
57598f9be6
Binary file not shown.
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user