Commit 270ab452 authored by Yoann HOUPERT's avatar Yoann HOUPERT
Browse files

remove testFile

parent 81b56d6b
When I was a kid, the disaster we worried about most was a nuclear war. That's why we had a barrel like this down in our basement, filled with cans of food and water. When the nuclear attack came, we were supposed to go downstairs, hunker down, and eat out of that barrel.
Today the greatest risk of global catastrophe doesn't look like this. Instead, it looks like this. If anything kills over 10 million people in the next few decades, it's most likely to be a highly infectious virus rather than a war. Not missiles, but microbes. Now, part of the reason for this is that we've invested a huge amount in nuclear deterrents. But we've actually invested very little in a system to stop an epidemic. We're not ready for the next epidemic.
#! /bin/bash
BASE_URL=http://kaldi-asr.org/downloads/build/2/sandbox/online/egs/fisher_english/s5
MODEL=exp/nnet2_online/nnet_a_gpu_online
GRAPH=exp/tri5a
modeldir=`dirname $0`/english/fisher_nnet_a_gpu_online
mkdir -p $modeldir
cd $modeldir
wget -N $BASE_URL/$MODEL/final.mdl || exit 1
(mkdir -p ivector_extractor; cd ivector_extractor; wget -N $BASE_URL/$MODEL/ivector_extractor/{final.ie,final.dubm,final.mat,global_cmvn.stats}) || exit 1
(mkdir -p conf; cd conf; wget -N $BASE_URL/$MODEL/conf/{ivector_extractor.conf,online_nnet2_decoding.conf,mfcc.conf,online_cmvn.conf,splice.conf}) || exit 1
wget -N $BASE_URL/$GRAPH/graph/HCLG.fst || exit 1
wget -N $BASE_URL/$GRAPH/graph/words.txt || exit 1
cat conf/ivector_extractor.conf | perl -npe "s/=.*nnet_a_gpu_online\//=test\/models\/english\/fisher_nnet_a_gpu_online\//" > conf/ivector_extractor.fixed.conf
cd -
\ No newline at end of file
#! /bin/bash
BASE_URL=http://kaldi-asr.org/downloads/build/6/trunk/egs/librispeech/s5
MODEL=exp/nnet2_online/nnet_a_online
GRAPH=exp/tri6b
modeldir=`dirname $0`/english/librispeech_nnet_a_online
mkdir -p $modeldir
cd $modeldir
wget -N $BASE_URL/$MODEL/final.mdl || exit 1
(mkdir -p ivector_extractor; cd ivector_extractor; wget -N $BASE_URL/$MODEL/ivector_extractor/{final.ie,final.dubm,final.mat,global_cmvn.stats}) || exit 1
(mkdir -p conf; cd conf; wget -N $BASE_URL/$MODEL/conf/{ivector_extractor.conf,online_nnet2_decoding.conf,mfcc.conf,online_cmvn.conf,splice.conf}) || exit 1
wget -N $BASE_URL/$GRAPH/graph_tgsmall/HCLG.fst || exit 1
wget -N $BASE_URL/$GRAPH/graph_tgsmall/words.txt || exit 1
cat conf/ivector_extractor.conf | perl -npe "s/=.*nnet_a_online\//=test\/models\/english\/librispeech_nnet_a_online\//" > conf/ivector_extractor.fixed.conf
cat conf/online_nnet2_decoding.conf | perl -npe "s/=.*nnet_a_online\//=test\/models\/english\/librispeech_nnet_a_online\//" > conf/online_nnet2_decoding.fixed.conf
cd -
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment