Blame view

egs/tedlium/s5_r3/results.sh 767 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
  #!/bin/bash
  
  # The output of this script (after successfully running ./run.sh) can be found in the RESULTS file.
  
  filter_regexp=.
  [ $# -ge 1 ] && filter_regexp=$1
  
  for x in exp/*/decode*; do 
    [ -d $x ] && grep WER $x/wer_* | utils/best_wer.sh; 
  done 2>/dev/null
  
  for x in exp/{mono,tri,sgmm,nnet,dnn,lstm,chain}*/decode*; do 
    [ -d $x ] && grep Sum $x/score_*/*.sys | utils/best_wer.sh; 
  done 2>/dev/null | grep $filter_regexp
  
  for x in exp/{mono,tri,sgmm,nnet,dnn,lstm,chain}*/*/decode*; do 
    [ -d $x ] && grep Sum $x/score_*/*.sys | utils/best_wer.sh; 
  done 2>/dev/null | grep $filter_regexp
  
  for x in exp/{mono,tri,sgmm,nnet,dnn,lstm,chain}*/*/decode*; do 
    [ -d $x ] && grep WER $x/wer_* | utils/best_wer.sh; 
  done 2>/dev/null | grep $filter_regexp
  
  exit 0