From 248a9979c332c81c9398de6307fd57fb236f412d Mon Sep 17 00:00:00 2001
From: Yu Xin <scaner@gmail.com>
Date: 星期一, 31 七月 2023 11:26:48 +0800
Subject: [PATCH] 使用np.float32替换np.float (#789)

---
 funasr/runtime/onnxruntime/src/ct-transformer.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/ct-transformer.cpp b/funasr/runtime/onnxruntime/src/ct-transformer.cpp
index 58eec25..2ee4114 100644
--- a/funasr/runtime/onnxruntime/src/ct-transformer.cpp
+++ b/funasr/runtime/onnxruntime/src/ct-transformer.cpp
@@ -18,6 +18,7 @@
 
     try{
         m_session = std::make_unique<Ort::Session>(env_, punc_model.c_str(), session_options);
+        LOG(INFO) << "Successfully load model from " << punc_model;
     }
     catch (std::exception const &e) {
         LOG(ERROR) << "Error when load punc onnx model: " << e.what();

--
Gitblit v1.9.1