You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/speechx/examples
Hui Zhang 945c3ba606
fix decode bug, test=doc (#2655)
2 years ago
..
codelab [demo] u2++ asr deployment demo (#2639) 2 years ago
custom_asr remove streaming opt, test=doc 3 years ago
ds2_ol refactor ctc opts, extract decoder interface, add ctc beamsearch score 2 years ago
text_lm format 3 years ago
u2pp_ol fix decode bug, test=doc (#2655) 2 years ago
.gitignore fix speech egs 3 years ago
README.md fix cmake paddle flags; more doc info 2 years ago

README.md

Examples for SpeechX

u2pp_ol is recommended.

  • u2pp_ol - u2++ streaming asr test under aishell-1 test dataset.
  • ds2_ol - ds2 streaming test under aishell-1 test dataset.

How to run

Create env

Using tools/evn.sh under speechx to create python env.

bash tools/env.sh

Source env before play with example.

. venv/bin/activate

Play with example

run.sh is the entry point for every example.

Example to play u2pp_ol:

pushd u2pp_ol/wenetspeech
bash run.sh --stop_stage 4

Display Model with Netron

If you have a model, we can using this commnd to show model graph.

For example:

pip install netron
netron exp/deepspeech2_online/checkpoints/avg_1.jit.pdmodel  --port 8022 --host 10.21.55.20

For Developer

Reminder: Only for developer, make sure you know what's it.

  • codelab - for speechx developer, using for test.