csukuangfj commited on
Commit
b35d76b
1 Parent(s): 95de63b

Upload export.sh

Browse files
Files changed (1) hide show
  1. exp/export.sh +19 -0
exp/export.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+
3
+ . path.sh
4
+
5
+ set -ex
6
+
7
+ if [ ! -f ./t/epoch-99.pt ]; then
8
+ mkdir -p t
9
+ pushd ./t
10
+ ln -s /path/to/icefall_asr_wenetspeech_pruned_transducer_stateless2/exp/pretrained_epoch_10_avg_2.pt ./epoch-99.pt
11
+ popd
12
+ fi
13
+
14
+ ./pruned_transducer_stateless2/export.py \
15
+ --exp-dir ./t \
16
+ --lang-dir ./data/lang_char \
17
+ --epoch 99 \
18
+ --avg 1 \
19
+ --onnx 1