PaddlePaddle / PaddleSpeech

Easy-to-use Speech Toolkit including Self-Supervised Learning model, SOTA/Streaming ASR with punctuation, Streaming TTS with text frontend, Speaker Verification System, End-to-End Speech Translation and Keyword Spotting. Won NAACL2022 Best Demo Award.
https://paddlespeech.readthedocs.io
Apache License 2.0
10.99k stars 1.83k forks source link

[TTS]fastspeech2_aishell3 android 报错 #2975

Closed kFoodie closed 1 year ago

kFoodie commented 1 year ago

fastspeech2_csmsc正常跑,换成了fastspeech2_aishell3就报错了

A/Paddle-Lite: [F  3/ 1 16:59: 1.950 ...lite/kernels/arm/lookup_table_compute.cc:53 Run] Check failed: (ids_data[i] < row_number): 2338328217695289344!<306 look uptable ids[i] < row_number check failed
A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20221 (Predictor Worke), pid 20168 (e.lite.demo.tts)

模型用的是 https://paddlespeech.bj.bcebos.com/Parakeet/released_models/fastspeech2/fastspeech2_aishell3_pdlite_1.3.0.zip 请问是啥原因啊?怎么解决?

08f0b755bc2b822fa3495ea0c1c7029
yt605155624 commented 1 year ago

Duplicate of https://github.com/PaddlePaddle/PaddleSpeech/issues/2933

kFoodie commented 1 year ago

Duplicate of #2933

用这个模型https://paddlespeech.bj.bcebos.com/Parakeet/released_models/fastspeech2/fastspeech2_aishell3_ckpt_1.1.0.zip,然后改了这里 image 然后还是报错了。。 image

csmsc,改完int32就正常。。

kFoodie commented 1 year ago

解决了。新增3行代码就行。。更新后的java代码如下: image

ChengsongLu commented 11 months ago

Duplicate of #2933

用这个模型https://paddlespeech.bj.bcebos.com/Parakeet/released_models/fastspeech2/fastspeech2_aishell3_ckpt_1.1.0.zip,然后改了这里 image 然后还是报错了。。 image

csmsc,改完int32就正常。。

你好,请问改完模型怎么编译成Android可以用的?