Skip to content

Commit 3c5d79d

Browse files
committed
Modifying do_corruption_data_dir_overlapped_speech.sh
1 parent e4d922a commit 3c5d79d

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

egs/aspire/s5/local/segmentation/do_corruption_data_dir_overlapped_speech.sh

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,35 @@
11
#!/bin/bash
2+
3+
# Copyright 2016 Vimal Manohar
4+
# Apache 2.0
5+
26
set -e
37
set -u
48
set -o pipefail
59

610
. path.sh
7-
. cmd.sh
8-
9-
num_data_reps=5
10-
data_dir=data/train_si284
11-
whole_data_dir=data/train_si284_whole
12-
13-
nj=40
14-
reco_nj=40
1511

1612
stage=0
1713
corruption_stage=-10
14+
corrupt_only=false
15+
16+
# Data options
17+
data_dir=data/train_si284 # Excpecting non-whole data directory
18+
speed_perturb=true
19+
num_data_reps=5 # Number of corrupted versions
20+
snrs="20:10:15:5:0:-5"
21+
foreground_snrs="20:10:15:5:0:-5"
22+
background_snrs="20:10:15:5:0:-5"
23+
base_rirs=simulated
24+
# Whole-data directory corresponding to data_dir
25+
whole_data_dir=data/train_si284_whole
1826

19-
pad_silence=false
27+
# Parallel options
28+
reco_nj=40
29+
nj=40
30+
cmd=queue.pl
2031

32+
# Options for feature extraction
2133
mfcc_config=conf/mfcc_hires_bp_vh.conf
2234
energy_config=conf/log_energy.conf
2335

0 commit comments

Comments
 (0)