Commit 3cdbab99 authored by Vijayaditya Peddinti's avatar Vijayaditya Peddinti
Browse files

trunk, aspire: minor bug fixes

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@5180 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 48f1cfef
......@@ -57,7 +57,6 @@ if __name__ == "__main__":
wav_out_files = return_nonempty_lines(open(params.output_wav_file_list, 'r').readlines())
assert(len(wav_files) == len(wav_out_files))
impulses = list_cyclic_iterator(return_nonempty_lines(open(params.impulses_noises_dir+'/info/impulse_files').readlines()), random_seed = params.random_seed)
noises = return_nonempty_lines(open(params.impulses_noises_dir+'/info/noise_files').readlines())
noises_impulses_files = glob.glob(params.impulses_noises_dir+'/info/noise_impulse_*')
impulse_noise_index = []
for file in noises_impulses_files:
......
......@@ -76,6 +76,8 @@ fi
if [ $stage -le 2 ]; then
echo "Normalizing the extracted room impulse responses and noises, per type"
echo "Note: Due to wav-format mismatch between sox and scipy, there might be warnings generated during file normalization."
echo " 'WavFileWarning: Unknown wave file format' warnings are benign."
# normalizing the RIR files
for i in `ls $log_dir/*type*.rir.list`; do
echo "Processing files in $i"
......
......@@ -30,7 +30,7 @@ if [ $stage -le 1 ]; then
--download-rirs $download_rirs \
--RIR-home $RIR_home \
data/impulses_noises || exit 1;
# corrupt the fisher data to generate multi-condition data
# for data_dir in train dev test; do
for data_dir in train dev test; do
......
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