From 9244ad35f09dbf8e10d67845948a68096635f982 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 20 May 2024 11:05:15 +0800 Subject: [PATCH] =?UTF-8?q?2024.5.16=20=E6=B5=8B=E8=AF=95=E6=95=B4?= =?UTF-8?q?=E4=BD=93=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- decoder/CMakeLists.txt | 2 +- decoder/asr_decoder.h | 4 ++-- decoder/asr_model.h | 2 +- grpc/grpc_client.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/decoder/CMakeLists.txt b/decoder/CMakeLists.txt index 2c02f95..fd0420f 100644 --- a/decoder/CMakeLists.txt +++ b/decoder/CMakeLists.txt @@ -28,7 +28,7 @@ else() target_link_libraries(decoder PUBLIC ${TORCH_LIBRARIES}) endif() if(ONNX) - target_link_libraries(decoder PUBLIC onnxruntime) + target_link_libraries(decoder PUBLIC ${third_party_libraries}) endif() if(BPU) target_link_libraries(decoder PUBLIC bpu_asr_model) diff --git a/decoder/asr_decoder.h b/decoder/asr_decoder.h index a69f9fd..88d2968 100644 --- a/decoder/asr_decoder.h +++ b/decoder/asr_decoder.h @@ -32,8 +32,8 @@ #include "decoder/ctc_wfst_beam_search.h" #include "decoder/search_interface.h" #include "frontend/feature_pipeline.h" -#include "../post_processor/processor/post_processor.h" -#include "../utils/wn_utils.h" +#include "post_processor/processor/post_processor.h" +#include "utils/wn_utils.h" namespace wenet { diff --git a/decoder/asr_model.h b/decoder/asr_model.h index 36ca854..045cbe7 100644 --- a/decoder/asr_model.h +++ b/decoder/asr_model.h @@ -10,7 +10,7 @@ #include #include "utils/timer.h" -#include "../utils/wn_utils.h" +#include "utils/wn_utils.h" namespace wenet { diff --git a/grpc/grpc_client.h b/grpc/grpc_client.h index b221513..e617229 100644 --- a/grpc/grpc_client.h +++ b/grpc/grpc_client.h @@ -26,7 +26,7 @@ #include #include "grpc/wenet.grpc.pb.h" -#include "../utils/wn_utils.h" +#include "utils/wn_utils.h"S namespace wenet {