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 {