root@ax650:/mnt/qtang/melotts.axera/python# python3 melotts.py \
--wav output.wav \
--encoder ../models/encoder-onnx/encoder-zh.onnx \
--decoder ../models/ax650/decoder-zh.axmodel \
--language ZH \
--speed 0.9
[INFO] Available providers: ['AxEngineExecutionProvider']
sentence: 爱芯元智半导体股份有限公司,致力于打造世界领先的人工智能感知与边缘计算芯片。服务智慧城市、智能驾驶、机器人的海量普惠的应用
sample_rate: 44100
encoder: ../models/encoder-onnx/encoder-zh.onnx
decoder: ../models/ax650/decoder-zh.axmodel
language: ZH_MIX_EN
> Text split to sentences.
爱芯元智半导体股份有限公司,
致力于打造世界领先的人工智能感知与边缘计算芯片.
服务智慧城市、智能驾驶、机器人的海量普惠的应用
> ===========================
split_sentences_into_pieces take 3.1397342681884766ms
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.10.1s
[INFO] Model type: 0 (single core)
[INFO] Compiler version: 3.3 3251425d
load models take 7986.6042137146ms
Sentence[0]: 爱芯元智半导体股份有限公司,
Load language module take 33348.33884239197ms
Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
Loading model cost 3.227 seconds.
Prefix dict has been built successfully.
encoder run take 89.70ms
Decode slice[0]: decoder run take 108.08ms
Decode slice[1]: decoder run take 92.15ms
Decode slice[2]: decoder run take 92.17ms
Sentence[1]: 致力于打造世界领先的人工智能感知与边缘计算芯片.
Load language module take 0.042438507080078125ms
encoder run take 122.83ms
Decode slice[0]: decoder run take 92.24ms
Decode slice[1]: decoder run take 92.34ms
Decode slice[2]: decoder run take 92.16ms
Decode slice[3]: decoder run take 92.16ms
Decode slice[4]: decoder run take 92.22ms
Sentence[2]: 服务智慧城市、智能驾驶、机器人的海量普惠的应用
Load language module take 0.046253204345703125ms
encoder run take 112.59ms
Decode slice[0]: decoder run take 92.26ms
Decode slice[1]: decoder run take 92.16ms
Decode slice[2]: decoder run take 92.13ms
Decode slice[3]: decoder run take 92.13ms
Decode slice[4]: decoder run take 92.10ms
Save to output.wav
root@ax650:/mnt/qtang/melotts.axera/python#
MeloTTS huggingface.co is an AI model on huggingface.co that provides MeloTTS's model effect (), which can be used instantly with this AXERA-TECH MeloTTS model. huggingface.co supports a free trial of the MeloTTS model, and also provides paid use of the MeloTTS. Support call MeloTTS model through api, including Node.js, Python, http.
MeloTTS huggingface.co is an online trial and call api platform, which integrates MeloTTS's modeling effects, including api services, and provides a free online trial of MeloTTS, you can try MeloTTS online for free by clicking the link below.
AXERA-TECH MeloTTS online free url in huggingface.co:
MeloTTS is an open source model from GitHub that offers a free installation service, and any user can find MeloTTS on GitHub to install. At the same time, huggingface.co provides the effect of MeloTTS install, users can directly use MeloTTS installed effect in huggingface.co for debugging and trial. It also supports api for free installation.