From af6740a2207840a772261b8a033ab9996f862529 Mon Sep 17 00:00:00 2001
From: smohan-speech <smohan@mail.ustc.edu.cn>
Date: 星期一, 08 五月 2023 16:13:23 +0800
Subject: [PATCH] add speaker-attributed ASR task for alimeeting
---
funasr/runtime/onnxruntime/src/ct-transformer.cpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/ct-transformer.cpp b/funasr/runtime/onnxruntime/src/ct-transformer.cpp
index 39ab2bc..ecde636 100644
--- a/funasr/runtime/onnxruntime/src/ct-transformer.cpp
+++ b/funasr/runtime/onnxruntime/src/ct-transformer.cpp
@@ -40,7 +40,6 @@
m_tokenizer.OpenYaml(punc_config.c_str());
}
-
CTTransformer::~CTTransformer()
{
}
@@ -180,10 +179,9 @@
}
catch (std::exception const &e)
{
- printf(e.what());
+ LOG(ERROR) << "Error when run punc onnx forword: " << (e.what());
+ exit(0);
}
return punction;
}
-
-
--
Gitblit v1.9.1