Blame view

score_unfixed_model.bash 339 Bytes
b6d0165d1   Killian   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  cpt=0
  for file in $1/*.bak
      do
      fname=$(basename $file ".shelve.bak")
      if [ -f UNFIXED_TRANS_scores/$fname.shelve.bak ]
      then
          python UNFIXED_TRANS_MINIAE_mlp.py UNFIXED_TRANS_MODEL/$fname UNFIXED_TRANS_scores/$fname & 
          cpt=$(($cpt+1))
      fi
      if [ $cpt -eq 4]
      then
          wait
          cpt=0
      fi
  done