Blame view

egs/rm/s5/local/nnet2/run_4e.sh 963 Bytes
8dcb6dfcb   Yannick Estève   first commit
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
  #!/bin/bash
  
  . ./cmd.sh
  
  
  # This example runs on top of "raw-fMLLR" features.
  # (after reducing splice-width from 7 to 5)
  # p-norm version, c.f. 4a.sh which is tanh.
  
  (  steps/nnet2/train_pnorm.sh --splice-width 5 --num-epochs 20 \
       --num-jobs-nnet 4 \
       --initial-learning-rate 0.02 --final-learning-rate 0.004 \
       --num-hidden-layers 2 \
       --num-epochs-extra 10 --add-layers-period 1 \
       --mix-up 4000 \
       --cmd "$decode_cmd" \
       --pnorm-input-dim 1000 \
       --pnorm-output-dim 200 \
       data/train data/lang exp/tri3c_ali exp/nnet4e  || exit 1
  
     steps/nnet2/decode.sh --config conf/decode.config --cmd "$decode_cmd" --nj 20 --feat-type raw \
       --transform-dir exp/tri3c/decode \
       exp/tri3c/graph data/test exp/nnet4e/decode
  
     steps/nnet2/decode.sh --config conf/decode.config --cmd "$decode_cmd" --nj 20 --feat-type raw \
       --transform-dir exp/tri3c/decode_ug \
       exp/tri3c/graph_ug data/test exp/nnet4e/decode_ug
   )