Blame view

egs/ptb/s5/run.sh 484 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
  #!/bin/bash
  
  stage=0
  
  . ./cmd.sh ## You'll want to change cmd.sh to something that will work on your system.
             ## This relates to the queue.
  . utils/parse_options.sh  # e.g. this parses the --stage option if supplied.
  
  
  if [ $stage -le 0 ]; then
    # download ptb data
    local/rnnlm/download_ptb.sh || exit 1;
  fi
  if [ $stage -le 1 ]; then
    # format ptb data
    local/rnnlm/prepare_rnnlm_data.sh || exit 1;
  fi
  
  if [ $stage -le 2 ]; then
    local/rnnlm/run_tdnn.sh || exit 1;
  fi