yfyeung's picture
Add export for onnx
30d17c8
raw
history blame contribute delete
510 Bytes
#!/usr/bin/env bash
./pruned_transducer_stateless7/onnx_pretrained.py \
--encoder-model-filename ./pruned_transducer_stateless7/exp/encoder-epoch-9999-avg-1.onnx \
--decoder-model-filename ./pruned_transducer_stateless7/exp/decoder-epoch-9999-avg-1.onnx \
--joiner-model-filename ./pruned_transducer_stateless7/exp/joiner-epoch-9999-avg-1.onnx \
--tokens ./data/en/lang_bpe_500/tokens.txt \
./test_wavs/1089-134686-0001.wav \
./test_wavs/1221-135766-0001.wav \
./test_wavs/1221-135766-0002.wav