forked from Gastron/sb-libri-hmmdnn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run-attn.sh
44 lines (37 loc) · 1.14 KB
/
run-attn.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
stage=0
. cmd.sh
. utils/parse_options.sh
if [ $stage -le 1 ]; then
local/attention/run_training.sh
fi
if [ $stage -le 2 ]; then
local/attention/run_test.sh --datadir "data/dev_clean"
local/attention/run_test.sh --datadir "data/dev_other"
fi
if [ $stage -le 3 ]; then
local/attention/run_training.sh \
--hparams hyperparams/attention/CRDNN-E-contd-2.yaml
fi
if [ $stage -le 4 ]; then
local/attention/run_test.sh \
--hparams hyperparams/attention/CRDNN-E-contd-2.yaml \
--datadir "data/dev_clean"
local/attention/run_test.sh \
--hparams hyperparams/attention/CRDNN-E-contd-2.yaml \
--datadir "data/dev_other"
fi
# Does not help:
#if [ $stage -le 5 ]; then
# local/attention/run_training.sh \
# --py_script local/attention/sb_train_attn_mwer.py \
# --hparams hyperparams/attention/mwer/CRDNN-E-MWER-contd-2.yaml
#fi
if [ $stage -le 6 ]; then
local/attention/run_test.sh \
--hparams hyperparams/attention/CRDNN-E-contd-2.yaml \
--datadir "data/test_clean"
local/attention/run_test.sh \
--hparams hyperparams/attention/CRDNN-E-contd-2.yaml --test_beam_size 8 \
--datadir "data/test_other"
fi