Comments (4)
请看python-api-examples 目录。例子一看一大把
from sherpa-onnx.
看了,没找到microphone + offline的例子。看下边API的定义,需要encoder + decoder + joiner三个onnx模型,但上边的命令行只有一个onnx模型嘛。
def from_transducer(
cls,
encoder: str,
decoder: str,
joiner: str,
tokens: str,
num_threads: int = 1,
sample_rate: int = 16000,
feature_dim: int = 80,
decoding_method: str = "greedy_search",
max_active_paths: int = 4,
hotwords_file: str = "",
hotwords_score: float = 1.5,
blank_penalty: float = 0.0,
modeling_unit: str = "cjkchar",
bpe_vocab: str = "",
debug: bool = False,
provider: str = "cpu",
model_type: str = "transducer",
)
from sherpa-onnx.
我应用调用"from_paraformer"这个函数对吧?
from sherpa-onnx.
对的
都有的。
请看examples
from sherpa-onnx.
Related Issues (20)
- 请问如果想通过语音下发命令,应该怎么做? HOT 9
- Is it possible to support bert-vits2 models such as MeloTTS? HOT 1
- [Need help] How to realize Syllable-level Voice Recognition with sherpa-onnx Open Vocabulary Keyword Spotting HOT 3
- 请问Sherpa_ONNX框架下的ASR模型的output是如何与tokens.txt中的文字对应起来的呢? HOT 1
- Words are being ignored with message `ConvertTextToTokenIdsNotChinese` HOT 1
- Does not support long audio inference? HOT 7
- Fix typo 'maxNumSenetences' in file 'swift-api-examples/SherpaOnnx.swift' HOT 2
- Audio Not properly configured in swift examples HOT 3
- tts移植后速度很慢的问题,生成10个字的语音大概要20秒左右 HOT 3
- Port to rv1106 , -/bin/sh: ./sherpa-onnx: not found HOT 2
- TTS onnxruntime bug in latest onnx-runtime (1.18) HOT 1
- Crash on TTS Android settings HOT 3
- 使用tts vits-icefall-zh-aishell3模型,输入只有一个或两个字时,输出声音奇奇怪怪的
- iOS 无法引入 framework HOT 2
- Flutter android offline speech recognition. HOT 1
- TeleSpeech-ASR1.0对方言支持的比较好,建议将这个模型添加到sherpa中使用 HOT 7
- 说话人识别可以不提前做声纹注册,实现直接识别吗? HOT 2
- shaerpa-onnx 在ios上报错:Precondition failed: encoder.int8.onnx does not exist! HOT 4
- ios上如何使用关键词预训练模型,是否有相关文档或者demo HOT 3
- TTS crashes with nnapi enabled (works with CPU) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sherpa-onnx.