From b4d1dc1d6526b45b417327a1f4d1a35228c385ca Mon Sep 17 00:00:00 2001 From: Hui Zhang Date: Tue, 25 Oct 2022 06:53:35 +0000 Subject: [PATCH] fix rtf compute --- speechx/speechx/recognizer/u2_recognizer_main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speechx/speechx/recognizer/u2_recognizer_main.cc b/speechx/speechx/recognizer/u2_recognizer_main.cc index 61330259..5cb8dbb1 100644 --- a/speechx/speechx/recognizer/u2_recognizer_main.cc +++ b/speechx/speechx/recognizer/u2_recognizer_main.cc @@ -107,7 +107,7 @@ int main(int argc, char* argv[]) { } LOG(INFO) << utt << " " << result; - LOG(INFO) << " RTF: " << dur / local_timer.Elapsed() << " dur: " << dur + LOG(INFO) << " RTF: " << local_timer.Elapsed() / dur << " dur: " << dur << " cost: " << local_timer.Elapsed(); result_writer.Write(utt, result); -- GitLab