Comments (3)
@zmoth 方便的话发一下你转 onnx 失败的 pt 的地址
from wekws.
在WIndows WSL和macOS上都是这个结果,使用miniconda,python=3.8.19 ,macOS上pytorch=2.3.0,torchaudio=2.3.0,WSL是按照README环境安装的。
https://www.modelscope.cn/studios/thuduj12/KWS_Nihao_Xiaojing
使用的是run_fsmn_ctc.sh
./run_fsmn_ctc.sh 4 4
checkpoint=
dir=exp/KWS_Nihao_Xiaojing/model/hixiaowen
average_model=true
num_average=30
if $average_model ;then
score_checkpoint=$dir/avg_${num_average}.pt
else
score_checkpoint=$dir/final.pt
fi
download_dir=./data/local # your data dir
其实上面的模型我都尝试过,有些是bin文件不知道怎么转换,还有的(https://www.modelscope.cn/iic/speech_charctc_kws_phone-xiaoyun)报错是
Traceback (most recent call last):
File "wekws/bin/export_onnx.py", line 103, in <module>
main()
File "wekws/bin/export_onnx.py", line 42, in main
feature_dim = configs['model']['input_dim']
KeyError: 'model'
from wekws.
ctc loss 的模型暂时还没有支持导出 onnx 和 c++ 推理,你可以先试试 maxpooling loss 的模型
from wekws.
Related Issues (20)
- speech-command-v1 export onnx model error HOT 3
- fsmn流式模型 right order 需要配置为0吗
- 内存溢出 HOT 1
- fsmn模型无法在android上运行。 HOT 11
- 内存占用溢出问题 HOT 2
- Loss didn’t drop when training FSMN_CTC. HOT 15
- stream推理运行时间久后就很难唤醒 HOT 3
- run_fsmn_ctc.sh num_keywords HOT 1
- ds_tcn convert to tflite model to be a large model HOT 1
- Train and stream HOT 2
- 执行wekws/examples/speechcommand_v1/s0/run.sh 报错:KeyError: 'num_layers' HOT 1
- examples/speechcommand_v1/s0 训练的ONNX模型可以转换成ort格式吗 HOT 4
- examples/speechcommand_v1/s0训练的模型在android系统上怎么运行? HOT 2
- A potential problem on training batch size HOT 2
- Number of validation utterance HOT 1
- fbank window function discrepancy between training and deployment
- effect of local shuffle
- 训练的mdtc small模型推理输出概率总是在第一唤醒词 HOT 2
- About c++11 Using smart Pointers causes source code error protection problems HOT 1
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 wekws.