File size: 675 Bytes
2b86a06
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

. path.sh

for m in greedy_search modified_beam_search fast_beam_search beam_search; do
  ./pruned_transducer_stateless3/pretrained.py \
    --checkpoint ./icefall-aishell-pruned-transducer-stateless3-2022-06-20/exp/pretrained-epoch-29-avg-5-torch-1.10.pt \
    --lang-dir ./icefall-aishell-pruned-transducer-stateless3-2022-06-20/data/lang_char \
    --method $m \
    ./icefall-aishell-pruned-transducer-stateless3-2022-06-20/test_wavs/BAC009S0764W0121.wav \
    ./icefall-aishell-pruned-transducer-stateless3-2022-06-20/test_wavs/BAC009S0764W0122.wav \
    ./icefall-aishell-pruned-transducer-stateless3-2022-06-20/test_wavs/BAC009S0764W0123.wav
done