fix tiny conf

pull/1062/head
Hui Zhang 3 years ago
parent 1d7ce0eba8
commit 5d626aa6b4

@ -14,7 +14,7 @@ collator:
mean_std_filepath: "" mean_std_filepath: ""
vocab_filepath: data/lang_char/vocab.txt vocab_filepath: data/lang_char/vocab.txt
unit_type: 'spm' unit_type: 'spm'
spm_model_prefix: 'data/bpe_unigram_200' spm_model_prefix: 'data/lang_char/bpe_unigram_200'
augmentation_config: conf/preprocess.yaml augmentation_config: conf/preprocess.yaml
batch_size: 4 batch_size: 4
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature

@ -14,7 +14,7 @@ collator:
mean_std_filepath: "" mean_std_filepath: ""
vocab_filepath: data/lang_char/vocab.txt vocab_filepath: data/lang_char/vocab.txt
unit_type: 'spm' unit_type: 'spm'
spm_model_prefix: 'data/bpe_unigram_200' spm_model_prefix: 'data/lang_char/bpe_unigram_200'
augmentation_config: conf/preprocess.yaml augmentation_config: conf/preprocess.yaml
batch_size: 4 batch_size: 4
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature

@ -14,7 +14,7 @@ collator:
mean_std_filepath: "" mean_std_filepath: ""
vocab_filepath: data/lang_char/vocab.txt vocab_filepath: data/lang_char/vocab.txt
unit_type: 'spm' unit_type: 'spm'
spm_model_prefix: 'data/bpe_unigram_200' spm_model_prefix: 'data/lang_char/bpe_unigram_200'
augmentation_config: conf/preprocess.yaml augmentation_config: conf/preprocess.yaml
batch_size: 4 batch_size: 4
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature

@ -14,7 +14,7 @@ collator:
mean_std_filepath: data/mean_std.json mean_std_filepath: data/mean_std.json
vocab_filepath: data/lang_char/vocab.txt vocab_filepath: data/lang_char/vocab.txt
unit_type: 'spm' unit_type: 'spm'
spm_model_prefix: 'data/bpe_unigram_200' spm_model_prefix: 'data/lang_char/bpe_unigram_200'
augmentation_config: conf/preprocess.yaml augmentation_config: conf/preprocess.yaml
batch_size: 4 batch_size: 4
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature

@ -82,12 +82,12 @@ if [ -e ${e2e} ]; then
e2e_conf=$(dirname ${e2e})/model.json e2e_conf=$(dirname ${e2e})/model.json
if [ ! -e ${e2e_conf} ]; then if [ ! -e ${e2e_conf} ]; then
echo missing ${e2e_conf} echo missing ${e2e_conf}
#exit 1 #exit 1
else else
echo -n " - e2e JSON file: \`" echo -n " - e2e JSON file: \`"
echo ${e2e_conf} | sed -e "s/$/\`/" echo ${e2e_conf} | sed -e "s/$/\`/"
tar rfh ${outfile}.tar ${e2e_conf} tar rfh ${outfile}.tar ${e2e_conf}
fi fi
else else
echo "missing ${e2e}" echo "missing ${e2e}"
@ -104,7 +104,7 @@ if [ -n "${lm}" ]; then
lm_conf=$(dirname ${lm})/model.json lm_conf=$(dirname ${lm})/model.json
if [ ! -e ${lm_conf} ]; then if [ ! -e ${lm_conf} ]; then
echo missing ${lm_conf} echo missing ${lm_conf}
exit 1 #exit 1
else else
echo -n " - lm JSON file: \`" echo -n " - lm JSON file: \`"
echo ${lm_conf} | sed -e "s/$/\`/" echo ${lm_conf} | sed -e "s/$/\`/"

Loading…
Cancel
Save