From f5f90a0742e5ed32d0f419ffeaac2d6590ec76f7 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Fri, 14 Oct 2022 12:13:51 +0800 Subject: [PATCH] Release v1.0 (#18) * Release v1.0 * Add link to doc --- CMakeLists.txt | 2 +- README.md | 2 ++ sherpa-onnx/csrc/CMakeLists.txt | 4 ++-- sherpa-onnx/csrc/sherpa-onnx.cc | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0096dfe4..c0c6ed23 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR) project(sherpa-onnx) -set(SHERPA_ONNX_VERSION "0.1") +set(SHERPA_ONNX_VERSION "1.0") set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") diff --git a/README.md b/README.md index 25632841..b7efd4c5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Introduction +Documentation: + See This repo uses [onnxruntime](https://github.com/microsoft/onnxruntime) and diff --git a/sherpa-onnx/csrc/CMakeLists.txt b/sherpa-onnx/csrc/CMakeLists.txt index d255456e..072b3a6e 100644 --- a/sherpa-onnx/csrc/CMakeLists.txt +++ b/sherpa-onnx/csrc/CMakeLists.txt @@ -13,5 +13,5 @@ target_link_libraries(sherpa-onnx kaldi-native-fbank-core ) -add_executable(sherpa-show-onnx-info show-onnx-info.cc) -target_link_libraries(sherpa-show-onnx-info onnxruntime) +# add_executable(sherpa-show-onnx-info show-onnx-info.cc) +# target_link_libraries(sherpa-show-onnx-info onnxruntime) diff --git a/sherpa-onnx/csrc/sherpa-onnx.cc b/sherpa-onnx/csrc/sherpa-onnx.cc index f0f2261c..8ac8f2d8 100644 --- a/sherpa-onnx/csrc/sherpa-onnx.cc +++ b/sherpa-onnx/csrc/sherpa-onnx.cc @@ -80,8 +80,8 @@ Usage: /path/to/encoder.onnx \ /path/to/decoder.onnx \ /path/to/joiner.onnx \ - /path/to/joiner_encoder_proj.ncnn.param \ - /path/to/joiner_decoder_proj.ncnn.param \ + /path/to/joiner_encoder_proj.onnx \ + /path/to/joiner_decoder_proj.onnx \ /path/to/foo.wav [num_threads] You can download pre-trained models from the following repository: