Blame view

egs/sprakbanken/s5/local/nnet3/run_blstm.sh 1.45 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  stage=0
  train_stage=-10
  affix=bidirectional
  nnet3_affix=
  common_egs_dir=
  remove_egs=true
  train_set=train
  gmm=tri3b
  
  
  # BLSTM params
  cell_dim=1024
  rp_dim=128
  nrp_dim=128
  chunk_left_context=40
  chunk_right_context=40
  
  # training options
  srand=0
  num_jobs_initial=3
  num_jobs_final=15
  samples_per_iter=20000
  num_epochs=6
  echo "$0 $@"  # Print the command line for logging
  
  if [ -f path.sh ]; then . ./path.sh; fi
  . parse_options.sh || exit 1;
  
  local/nnet3/run_lstm.sh --affix $affix \
                           --srand $srand \
                           --stage $stage \
                           --train-stage $train_stage \
                           --train-set $train_set \
                           --gmm $gmm \
                           --lstm-delay " [-1,1] [-2,2] [-3,3] " \
                           --label-delay 0 \
                           --cell-dim $cell_dim \
                           --recurrent-projection-dim $rp_dim \
                           --non-recurrent-projection-dim $nrp_dim \
                           --common-egs-dir "$common_egs_dir" \
                           --chunk-left-context $chunk_left_context \
                           --chunk-right-context $chunk_right_context \
                           --num-jobs-initial $num_jobs_initial \
                           --num-jobs-final $num_jobs_final \
                           --samples-per-iter $samples_per_iter \
                           --num-epochs $num_epochs \
                           --remove-egs $remove_egs