changeset 90:a5e0232a8c23

- AWS
author tomwalters
date Thu, 12 Aug 2010 14:45:23 +0000
parents 2438115a2e63
children 8f8f173502a2
files experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh experiments/scripts/master.sh
diffstat 2 files changed, 24 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh	Thu Aug 12 14:21:02 2010 +0000
+++ b/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh	Thu Aug 12 14:45:23 2010 +0000
@@ -24,6 +24,7 @@
 TEST_SCRIPT=testing_script
 SYLLIST_COMPLETE=syllable_list_with_silence
 TRAIN_MLF=training_master_label_file
+TEST_MLF=testing_master_label_file
 
 DICT=dictionary
 WDNET=word_network
--- a/experiments/scripts/master.sh	Thu Aug 12 14:21:02 2010 +0000
+++ b/experiments/scripts/master.sh	Thu Aug 12 14:45:23 2010 +0000
@@ -4,8 +4,15 @@
 # Run a series of experiments which compare MFCC features generated by HTK to
 # AIM features generated using AIM-C using a series of syllable recogntiton
 # tasks.
-# This script expects the HTK binaries and AIM-C AIMCopy binary to be present
-# in the PATH.
+# This script expects to be run from within the AIM-C source tree.
+# It builds the HTK binaries and AIM-C AIMCopy binary if they're not 
+# present. 
+# The following environment varaibles should be set before this script is run:
+# SYLLABLES_DATABASE_URL - URL of a tar file containing the CNBH syllables
+# database in FLAC format
+# HTK_USERNAME and HTK_PASSWORD - username and password for the site at 
+# http://htk.eng.cam.ac.uk/
+
 
 # Set these to be the location of your input database, and desired output
 # locations.
@@ -125,6 +132,7 @@
 FEATURE_SIZE=39
 FEATURE_TYPE=MFCC_0_D_A
 
+#for SOURCE_SNR in $FEATURE_DIRS; do
 SOURCE_SNR="clean"
 TALKERS=inner_talkers
 WORK=$HMMS_ROOT/$FEATURE_CLASS/$FEATURE_SUFFIX/$SOURCE_SNR/$TALKERS/
@@ -142,17 +150,16 @@
 
 ./cnbh-syllables/run_training_and_testing/gen_htk_base_files.sh $WORK
 
-for SOURCE_SNR in $FEATURE_DIRS; do
-  ./cnbh-syllables/run_training_and_testing/test_features.sh \
-      "$WORK" \
-      "$FEATURES_ROOT/$FEATURE_CLASS/$SOURCE_SNR/" \
-      "$FEATURE_SUFFIX" \
-      "$HMM_STATES" \
-      "$HMM_OUTPUT_COMPONENTS" \
-      "$TRAINING_ITERATIONS" \
-      "$TESTING_ITERATIONS" \
-      "$FEATURE_SIZE" \
-      "$FEATURE_TYPE" \
-      "$TRAINING_SCRIPT" \
-      "$TESTING_SCRIPT"
-done
+./cnbh-syllables/run_training_and_testing/test_features.sh \
+    "$WORK" \
+    "$FEATURES_ROOT/$FEATURE_CLASS/$SOURCE_SNR/" \
+    "$FEATURE_SUFFIX" \
+    "$HMM_STATES" \
+    "$HMM_OUTPUT_COMPONENTS" \
+    "$TRAINING_ITERATIONS" \
+    "$TESTING_ITERATIONS" \
+    "$FEATURE_SIZE" \
+    "$FEATURE_TYPE" \
+    "$TRAINING_SCRIPT" \
+    "$TESTING_SCRIPT"
+#done