Blame view

egs/tedlium/s5_r2_wsj/results.sh 496 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
  #!/bin/bash
  
  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/*{nnet,dnn,lstm,chain}*/*/decode*; do 
    [ -d $x ] && grep Sum $x/score_*/*.sys | utils/best_wer.sh; 
  done 2>/dev/null | grep $filter_regexp
  
  exit 0