diff --git a/icefall/.utils.py.swp b/icefall/.utils.py.swp deleted file mode 100644 index 7c34eb8c9..000000000 Binary files a/icefall/.utils.py.swp and /dev/null differ diff --git a/icefall/utils.py b/icefall/utils.py index fd7d81a89..7ba93ab74 100644 --- a/icefall/utils.py +++ b/icefall/utils.py @@ -888,15 +888,15 @@ class MetricsTracker(collections.defaultdict): for k, v in self.items(): if k == "frames" or k == "utterances": continue - #norm_value = ( - # float(v) / num_frames if "utt_" not in k else float(v) / num_utterances - #) + norm_value = ( + float(v) / num_frames if "utt_" not in k else float(v) / num_utterances + ) #norm_value = ( # float(v) / num_utterances #) - norm_value = ( - float(v) - ) + #norm_value = ( + # float(v) + #) ans.append((k, norm_value)) return ans