Comments (10)
This repo contains the first working version, but I have to do refactoring (adding OfflineASR, OfflineRecognizer, etc..). I am planning to do it in a few days.
from sherpa-onnx.
PR is here, but not been merged yet since I didn't have time to do some changes (about testing and inference scripts). However, you can use the export script for now.
from sherpa-onnx.
@EmreOzkose Hi, I only found these onnx were exported, didn't find encoder_proj.onnx or decoder_proj.onnx.
which needed by your onnx c++ inference code.
I have 2 questions:
- the export didn't aligned with your inference code, how to resolve it?
- you have a all_in_one model, in my opinion, this is useless, since we using encoder and decoder to inference, how didi u using it?
from sherpa-onnx.
@csukuangfj Hello, can u help me out on this issue? I can not get your project run.
from sherpa-onnx.
What have you done and what are the error messages?
from sherpa-onnx.
Hi @jinfagang , I am updating PR now. You can use export script
- the export didn't aligned with your inference code, how to resolve it?
Export script is updated.
- you have a all_in_one model, in my opinion, this is useless, since we using encoder and decoder to inference, how didi u using it?
Initially, the aim was to combine all parts into one .onnx like model.pt. There is a branch which uses only all-in-one.onnx to decode. It is written in Python. This repo uses Onnxruntime without dependency on Libtorch and I couldn't extract each model (encoder, decoder, etc..) internally. Hence models are given separately for now.
from sherpa-onnx.
@EmreOzkose thanks. now i can get proj model as well.
the all in on infefrence, from I can see: https://github.com/EmreOzkose/sherpa/blob/887ddd0924cf5c4216a8671c39b04e8e8371356d/sherpa/bin/pruned_transducer_statelessX/offline_asr.py#L298
this still using model's decoder when greedysearch. This is not convenient on onnxruntime.
from sherpa-onnx.
Offline ASR script of ONNX is https://github.com/EmreOzkose/sherpa/blob/887ddd0924cf5c4216a8671c39b04e8e8371356d/sherpa/bin/pruned_transducer_statelessX/onnx_offline_asr.py
from sherpa-onnx.
Oh, I get it. Will this also port to c++ as well?
from sherpa-onnx.
Please use
https://github.com/k2-fsa/icefall/blob/master/egs/wenetspeech/ASR/pruned_transducer_stateless2/export.py
to export Chinese models.
from sherpa-onnx.
Related Issues (20)
- TTS Highlight Current Text HOT 8
- sherpa_onnx.OnlineRecognizer( TypeError: OnlineRecognizer() takes no arguments HOT 12
- speaker-identification.py的speaker-file参数具体是指? HOT 3
- Crash After Package Name Changed HOT 7
- This library cannot reconcile with the react-native onnxuruntime official library: unresolved OrtGetApiBase symbol HOT 17
- how to solve the channel problem and bit rate problem? HOT 2
- ANR On Android HOT 3
- 这边项目也支持语音唤醒吗? HOT 12
- Cannot instantiate Java OnlineRecognizer on Windows HOT 3
- Requred File? HOT 1
- Issue with sampling rate requirement for online_websocket_client_decode_file.py HOT 2
- whisper model recognition is unstable and error
- 在SherpaOnnxKws(Android)运行过程中发现的一个问题 HOT 4
- 热词影响onnx端点识别问题 HOT 5
- 单词写错需要修改 HOT 2
- 麻烦问下endpoint识别与vad识别有什么区别吗? HOT 5
- Use On .NET UWP HOT 6
- transcription inconsistency in different runs HOT 3
- export 3d speaker campplus sv model to onnx error
- Whisper onnxruntime exception on Android HOT 18
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.