Skip to content

Commit

Permalink
[egs,scripts] Disambiguate cmd.sh and path.sh pathnames: add './' (ka…
Browse files Browse the repository at this point in the history
  • Loading branch information
entn-at authored and danpovey committed Oct 20, 2017
1 parent 020c500 commit edb1aae
Show file tree
Hide file tree
Showing 463 changed files with 564 additions and 564 deletions.
2 changes: 1 addition & 1 deletion egs/aishell/s5/local/nnet3/run_tdnn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use_ivectors=true

# End configuration section.

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/ami_ihm_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# To be run from one directory above this script.

. path.sh
. ./path.sh

#check existing directories
if [ $# != 1 ]; then
Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/ami_ihm_scoring_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski)
# AMI Corpus dev/eval data preparation

. path.sh
. ./path.sh

#check existing directories
if [ $# != 2 ]; then
Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/ami_mdm_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# To be run from one directory above this script.

. path.sh
. ./path.sh

#check existing directories
if [ $# != 2 ]; then
Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/ami_mdm_scoring_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski)
# AMI Corpus dev/eval data preparation

. path.sh
. ./path.sh

#check existing directories
if [ $# != 3 ]; then
Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/ami_sdm_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski)
# AMI Corpus dev/eval data preparation

. path.sh
. ./path.sh

#check existing directories
if [ $# != 2 ]; then
Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/ami_sdm_scoring_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright 2014, University of Edinburgh (Author: Pawel Swietojanski)
# AMI Corpus dev/eval data preparation

. path.sh
. ./path.sh

#check existing directories
if [ $# != 3 ]; then
Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/chain/run_chain_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ min_seg_len=
# End configuration section.
echo "$0 $@" # Print the command line for logging

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
4 changes: 2 additions & 2 deletions egs/ami/s5/local/confidence_calibration.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh

# Global options,
graph=exp/ihm/tri4a/graph_ami_fsh.o3g.kn.pr1-7
Expand Down
4 changes: 2 additions & 2 deletions egs/ami/s5/local/nnet/prepare_ivectors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Copyright 2016, Brno University of Technology (Author: Karel Vesely)
# Apache 2.0

. path.sh
. cmd.sh
. ./path.sh
. ./cmd.sh

train=data_ihm-fmllr-tri4/ihm/train
dev=data_ihm-fmllr-tri4/ihm/dev
Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/nnet3/prepare_parallel_datadirs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ original_mic=sdm1
parallel_mic=ihm
new_mic=sdm1_cleanali

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use_sat_alignments=true
nj=10
stage=0

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/nnet3/prepare_perturbed_alignments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ nj=10
stage=0
use_sat_alignments=true

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/nnet3/run_ivector_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ nj=10
use_ihm_ali=false
use_sat_alignments=true

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5/local/nnet3/run_tdnn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ remove_egs=true
relu_dim=850
num_epochs=3

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
4 changes: 2 additions & 2 deletions egs/ami/s5/local/online/run_nnet2_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# this script contains some common (shared) parts of the run_nnet*.sh scripts.

. cmd.sh
. ./cmd.sh


stage=0
mic=ihm
num_threads_ubm=32

set -e
. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
4 changes: 2 additions & 2 deletions egs/ami/s5/local/online/run_nnet2_ms_sp_disc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# The time taken is dominated by the lattice generation anyway, so this isn't
# a huge deal.

. cmd.sh
. ./cmd.sh


stage=0
Expand All @@ -35,7 +35,7 @@ cleanup=false # run with --cleanup true --stage 6 to clean up (remove large thi
gmm_dir=exp/$mic/tri4a

set -e
. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
4 changes: 2 additions & 2 deletions egs/ami/s5/local/tfrnnlm/rnnlm_data_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ train_text=data/ihm/train/text
nwords=9999
heldout_sent=10000

. path.sh
. cmd.sh
. ./path.sh
. ./cmd.sh

. utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5b/local/chain/multi_condition/run_tdnn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ common_egs_dir= # you can set this to use previously dumped egs.
# End configuration section.
echo "$0 $@" # Print the command line for logging

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5b/local/chain/tuning/run_tdnn_1a.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ common_egs_dir= # you can set this to use previously dumped egs.
# End configuration section.
echo "$0 $@" # Print the command line for logging

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5b/local/chain/tuning/run_tdnn_1b.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ common_egs_dir= # you can set this to use previously dumped egs.
# End configuration section.
echo "$0 $@" # Print the command line for logging

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5b/local/nnet3/prepare_lores_feats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use_ihm_ali=false # If true, we use alignments from the IHM data (which is bette
train_set=train # you might set this to e.g. train_cleaned.


. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5b/local/nnet3/run_ivector_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ivector_transform_type=lda
nnet3_affix=_cleaned # affix for exp/$mic/nnet3 directory to put iVector stuff in, so it
# becomes exp/$mic/nnet3_cleaned or whatever.

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5b/local/nnet3/run_tdnn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ remove_egs=true
relu_dim=850
num_epochs=3

. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
2 changes: 1 addition & 1 deletion egs/ami/s5b/local/prepare_parallel_train_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi

train_set=train

. cmd.sh
. ./cmd.sh
. ./path.sh

for f in data/ihm/train/utt2spk data/$mic/train/utt2spk; do
Expand Down
4 changes: 2 additions & 2 deletions egs/an4/s5/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# See the Apache 2 License for the specific language governing permissions and
# limitations under the License.

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
set -e # exit on error

stage=0
Expand Down
2 changes: 1 addition & 1 deletion egs/apiai_decode/s5/recognize-wav.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Use ./download-model.sh script to download asr model
# See https://github.com/api-ai/api-ai-english-asr-model for details about a model and how to use it.

. path.sh
. ./path.sh
MODEL_DIR="exp/api.ai-model"
DATA_DIR="data/test-corpus"

Expand Down
2 changes: 1 addition & 1 deletion egs/aspire/s5/local/multi_condition/prep_test_aspire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pass2_decode_opts=
filter_ctm=true
weights_file=
silence_weight=0.00001
. cmd.sh
. ./cmd.sh

[ -f ./path.sh ] && . ./path.sh
. parse_options.sh || exit 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ log_dir=log # directory to store the log files
RIR_home=db/RIR_databases/ # parent directory of the RIR databases files
db_string="'aalto' 'air' 'rwcp' 'rvb2014' 'c4dm' 'varechoic' 'mardy' 'openair'" # RIR dbs to be used in the experiment

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. utils/parse_options.sh

echo $*
Expand Down
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/multi_condition/rirs/prep_aalto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ output_bit=16
DBname=AALTO
file_splitter= #script to generate job scripts given the command file

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

if [ $# != 3 ]; then
Expand Down
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/multi_condition/rirs/prep_air.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ sampling_rate=8000
DBname=AIR
file_splitter= #script to generate job scripts given the command file

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

if [ $# != 3 ]; then
Expand Down
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/multi_condition/rirs/prep_c4dm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ output_bit=16
DBname=C4DM
file_splitter= #script to generate job scripts given the command file

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

if [ $# != 3 ]; then
Expand Down
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/multi_condition/rirs/prep_mardy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ output_bit=16
DBname=MARDY
file_splitter= #script to generate job scripts given the command file

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

if [ $# != 3 ]; then
Expand Down
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/multi_condition/rirs/prep_openair.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ output_bit=16
DBname=OPENAIR
file_splitter= #script to generate job scripts given the command file

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

if [ $# != 3 ]; then
Expand Down
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/multi_condition/rirs/prep_rvb2014.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ output_bit=16
DBname=RVB2014
file_splitter= #script to generate job scripts given the command file

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

if [ $# != 3 ]; then
Expand Down
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/multi_condition/rirs/prep_rwcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ output_bit=16
DBname=RWCP
file_splitter= #script to generate job scripts given the command file

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

if [ $# != 3 ]; then
Expand Down
4 changes: 2 additions & 2 deletions egs/aspire/s5/local/multi_condition/rirs/prep_varechoic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ output_bit=16
DBname=VARECHOIC
file_splitter= #script to generate job scripts given the command file

. cmd.sh
. path.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

if [ $# != 3 ]; then
Expand Down
2 changes: 1 addition & 1 deletion egs/aspire/s5/local/multi_condition/run_nnet2_ms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use_gpu=true
dir=exp/nnet2_multicondition/nnet_ms_a

set -e
. cmd.sh
. ./cmd.sh
. ./path.sh
. ./utils/parse_options.sh

Expand Down
Loading

0 comments on commit edb1aae

Please sign in to comment.