Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TTS] error when starting server #2721

Closed
wangtiance opened this issue Dec 6, 2022 · 1 comment
Closed

[TTS] error when starting server #2721

wangtiance opened this issue Dec 6, 2022 · 1 comment
Assignees

Comments

@wangtiance
Copy link

The config file is the same as demos/speech_server/conf/application.yaml, except I only kept tts in engine list.

paddlespeech_server start --config_file paddle_conf.yaml
[2022-12-06 17:46:28,565] [ INFO] - start to init the engine
[2022-12-06 17:46:28,565] [ INFO] - tts : python engine.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 477172/477172 [00:39<00:00, 12109.45it/s]
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 71120/71120 [00:09<00:00, 7598.92it/s]
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 575056/575056 [00:50<00:00, 11439.20it/s]
[2022-12-06 17:48:33,716] [ INFO] - Downloading https://bj.bcebos.com/paddle-hapi/models/bert/bert-base-chinese-vocab.txt and saved to /home/spt/.paddlenlp/models/bert-base-chinese
[2022-12-06 17:48:34,487] [ INFO] - PaddleAudio | unique_endpoints {''}
[2022-12-06 17:48:34,488] [ INFO] - PaddleAudio | Downloading bert-base-chinese-vocab.txt from https://bj.bcebos.com/paddle-hapi/models/bert/bert-base-chinese-vocab.txt
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 107/107 [00:00<00:00, 1717.38it/s]
[2022-12-06 17:48:34,676] [ INFO] - tokenizer config file saved in /home/spt/.paddlenlp/models/bert-base-chinese/tokenizer_config.json
[2022-12-06 17:48:34,676] [ INFO] - Special tokens file saved in /home/spt/.paddlenlp/models/bert-base-chinese/special_tokens_map.json
[2022-12-06 17:48:45,423] [ INFO] - Initialize TTS server engine successfully on device: cpu.
Building prefix dict from the default dictionary ...
[2022-12-06 17:48:45,426] [ DEBUG] init.py:113 - Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
[2022-12-06 17:48:45,431] [ DEBUG] init.py:132 - Loading model from cache /tmp/jieba.cache
Loading model cost 0.885 seconds.
[2022-12-06 17:48:46,312] [ DEBUG] init.py:164 - Loading model cost 0.885 seconds.
Prefix dict has been built successfully.
[2022-12-06 17:48:46,312] [ DEBUG] init.py:166 - Prefix dict has been built successfully.
[2022-12-06 17:48:49,079] [ ERROR] - Failed to start server.
[2022-12-06 17:48:49,079] [ ERROR] - run() got an unexpected keyword argument 'debug'

my paddle versions:
paddle-bfloat 0.1.7 pypi_0 pypi
paddle2onnx 1.0.3 pypi_0 pypi
paddlefsl 1.1.0 pypi_0 pypi
paddlenlp 2.4.4 pypi_0 pypi
paddlepaddle 2.4.0 py39_cpu_many_linux https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle
paddleslim 2.3.4 pypi_0 pypi
paddlespeech 1.2.0 pypi_0 pypi
paddlespeech-feat 0.1.0 pypi_0 pypi

@wangtiance
Copy link
Author

oops, just saw #2576. problem solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants