|
|
|
|
|
|
|
set -x |
|
|
|
K2_ROOT=/ceph-hw/kangwei/code/k2_release/k2 |
|
ICEFALL=/star-kw/kangwei/code/icefall_wenetspeech |
|
|
|
export PYTHONPATH=$K2_ROOT/k2/python:$PYTHONPATH |
|
export PYTHONPATH=$K2_ROOT/build/lib:$PYTHONPATH |
|
export PYTHONPATH=$ICEFALL:$PYTHONPATH |
|
|
|
./zipformer/onnx_check.py \ |
|
--jit-filename zipformer/exp_L_context_2/jit_script.pt \ |
|
--onnx-encoder-filename zipformer/exp_L_context_2/encoder-epoch-12-avg-4.onnx \ |
|
--onnx-decoder-filename zipformer/exp_L_context_2/decoder-epoch-12-avg-4.onnx \ |
|
--onnx-joiner-filename zipformer/exp_L_context_2/joiner-epoch-12-avg-4.onnx |
|
|
|
./zipformer/onnx_decode.py \ |
|
--exp-dir zipformer/exp_L_context_2 \ |
|
--encoder-model-filename zipformer/exp_L_context_2/encoder-epoch-12-avg-4.onnx \ |
|
--decoder-model-filename zipformer/exp_L_context_2/decoder-epoch-12-avg-4.onnx \ |
|
--joiner-model-filename zipformer/exp_L_context_2/joiner-epoch-12-avg-4.onnx \ |
|
--tokens data/lang_char/tokens.txt |
|
|