forked from PaddlePaddle/PaddleSpeech
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c21daff
commit caaa5cd
Showing
19 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
#!/bin/bash | ||
|
||
wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespeech.bj.bcebos.com/PaddleAudio/en.wav | ||
wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav | ||
wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/en.wav | ||
|
||
# asr | ||
paddlespeech asr --input ./zh.wav | ||
|
||
|
||
# asr + punc | ||
paddlespeech asr --input ./zh.wav | paddlespeech text --task punc | ||
|
||
|
||
# asr help | ||
paddlespeech asr --help | ||
|
||
|
||
# english asr | ||
paddlespeech asr --lang en --model transformer_librispeech --input ./en.wav | ||
|
||
# model stats | ||
paddlespeech stats --task asr | ||
|
||
|
||
# paddlespeech help | ||
paddlespeech --help |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
paddlespeech_server start --config_file ./conf/application.yaml | ||
paddlespeech_server start --config_file ./conf/application.yaml &> server.log & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
wget -c https://paddlespeech.bj.bcebos.com/vector/audio/85236145389.wav | ||
wget -c https://paddlespeech.bj.bcebos.com/vector/audio/123456789.wav | ||
|
||
# sid extract | ||
paddlespeech_client vector --server_ip 127.0.0.1 --port 8090 --task spk --input ./85236145389.wav | ||
|
||
# sid score | ||
paddlespeech_client vector --server_ip 127.0.0.1 --port 8090 --task score --enroll ./85236145389.wav --test ./123456789.wav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
|
||
paddlespeech_client text --server_ip 127.0.0.1 --port 8090 --input 今天的天气真好啊你下午有空吗我想约你一起去吃饭 |
Empty file.
File renamed without changes.
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
export CUDA_VISIBLE_DEVICE=0,1,2,3 | ||
export CUDA_VISIBLE_DEVICE=0,1,2,3 | ||
#export CUDA_VISIBLE_DEVICE=0,1,2,3 | ||
|
||
# nohup python3 punc_server.py --config_file conf/punc_application.yaml > punc.log 2>&1 & | ||
# nohup python3 local/punc_server.py --config_file conf/punc_application.yaml > punc.log 2>&1 & | ||
paddlespeech_server start --config_file conf/punc_application.yaml &> punc.log & | ||
|
||
# nohup python3 streaming_asr_server.py --config_file conf/ws_conformer_wenetspeech_application.yaml > streaming_asr.log 2>&1 & | ||
# nohup python3 local/streaming_asr_server.py --config_file conf/ws_conformer_wenetspeech_application.yaml > streaming_asr.log 2>&1 & | ||
paddlespeech_server start --config_file conf/ws_conformer_wenetspeech_application.yaml &> streaming_asr.log & | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters