Mercurial > hg > aimc
changeset 186:5664f16368c1
- AWS fixen
author | tomwalters |
---|---|
date | Wed, 11 Aug 2010 17:29:51 +0000 |
parents | 550d0d6bffe5 |
children | d7dc7014b0af |
files | SConstruct experiments/scripts/cnbh-syllables/feature_generation/run_mfcc_vtln_conversion.sh experiments/scripts/cnbh-syllables/run_training_and_testing/test_features.sh experiments/scripts/master.sh |
diffstat | 4 files changed, 23 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/SConstruct Wed Aug 11 13:06:30 2010 +0000 +++ b/SConstruct Wed Aug 11 17:29:51 2010 +0000 @@ -56,9 +56,10 @@ 'Modules/Features/ModuleGaussians.cc'] # File which contains main() +sources = common_sources + ['Main/AIMCopy_SSI_Features_v3.cc'] #sources = common_sources + ['Main/AIMCopy_SSI_Features_v4_PZFC.cc'] #sources = common_sources + ['Main/AIMCopy_SSI_Features_v5_smooth_nap.cc'] -sources = common_sources + ['Main/aimc.cc'] +#sources = common_sources + ['Main/aimc.cc'] # Test sources test_sources = ['Modules/Profile/ModuleSlice_unittest.cc'] @@ -85,8 +86,8 @@ # Build products location and executable name build_dir = os.path.join('build', target_platform + '-release') -target_executable = 'aimc' -#target_executable = 'AIMCopy' +#target_executable = 'aimc' +target_executable = 'AIMCopy' test_executable = 'aimc_tests' # Create build products directory if necessary
--- a/experiments/scripts/cnbh-syllables/feature_generation/run_mfcc_vtln_conversion.sh Wed Aug 11 13:06:30 2010 +0000 +++ b/experiments/scripts/cnbh-syllables/feature_generation/run_mfcc_vtln_conversion.sh Wed Aug 11 17:29:51 2010 +0000 @@ -153,7 +153,7 @@ scale=`echo $speaker | sed 's/.*p//' | sed 's/s.*//'` warpfactor=0`echo "scale=4; 100.0/$scale" | bc` echo "WARPFREQ = $warpfactor" >> $FEATURES_DIR/${HCOPY_CONFIG}_$TALKER - ${HTK_PREFIX}HCopy -T 1 -C $FEATURES_DIR/${HCOPY_CONFIG}_$TALKER -S $FEATURES_DIR/${TRAIN_LIST}_$TALKER & + HCopy -T 1 -C $FEATURES_DIR/${HCOPY_CONFIG}_$TALKER -S $FEATURES_DIR/${TRAIN_LIST}_$TALKER & done echo "Waiting for tasks to complete..."
--- a/experiments/scripts/cnbh-syllables/run_training_and_testing/test_features.sh Wed Aug 11 13:06:30 2010 +0000 +++ b/experiments/scripts/cnbh-syllables/run_training_and_testing/test_features.sh Wed Aug 11 17:29:51 2010 +0000 @@ -35,11 +35,7 @@ HMMCONFIG=hmmconfig - - - - -if [ "$MFCC_FEATURES" ] +if [ "$FEATURE_TYPE" == "MFCC_0_D_A"] then cat <<"EOF" > $WORK/$HMMCONFIG # Coding parameters
--- a/experiments/scripts/master.sh Wed Aug 11 13:06:30 2010 +0000 +++ b/experiments/scripts/master.sh Wed Aug 11 17:29:51 2010 +0000 @@ -49,7 +49,7 @@ # signal-to-noise ratios (SNRs). The versions are put in the directory # ${SOUNDS_ROOT}/${SNR}_dB/ for each SNR in $SNRS. SNRS="30 27 24 21 18 15 12 9 6 3 0" -./cnbh-syllables/feature_generation/pink_noise.sh $SOUNDS_ROOT/clean/ $SNRS +./cnbh-syllables/feature_generation/pink_noise.sh $SOUNDS_ROOT/clean/ "$SNRS" # Make the list of all feature drectories FEATURE_DIRS="clean" @@ -94,7 +94,7 @@ if [ ! -e $FEATURES_ROOT/mfcc_vtln/$SOURCE_SNR/.make_mfcc_vtln_features_success ]; then mkdir -p $FEATURES_ROOT/mfcc_vtln/$SOURCE_SNR/ # Generate the file list and run the conversion (all one step, since this - # version uses a different configuraiton for each talker) + # version uses a different configuration for each talker) ./cnbh-syllables/feature_generation/run_mfcc_vtln_conversion.sh $FEATURES_ROOT/mfcc_vtln/$SOURCE_SNR/ $SOUNDS_ROOT/$SOURCE_SNR/ touch $FEATURES_ROOT/mfcc_vtln/$SOURCE_SNR/.make_mfcc_vtln_features_success fi @@ -116,4 +116,19 @@ HMM_STATES="3 4 5 6 7 8" HMM_OUTPUT_COMPONENTS="" +FEATURE_CLASS=mfcc +FEATURE_SIZE=39 +FEATURE_TYPE=MFCC_0_D_A +for SOURCE_SNR in $FEATURE_DIRS; do + ./run_training_and_testing/test_features.sh \ + $HMMS_ROOT \ + $FEATURES_ROOT/$FEATURE_CLASS/$SOURCE_SNR/ \ + $FEATURE_SUFFIX \ + $HMM_STATES \ + $HMM_OUTPUT_COMPONENTS \ + $TRAINING_ITERATIONS \ + $TESTING_ITERATIONS \ + $FEATURE_SIZE \ + $FEATURE_TYPE +done \ No newline at end of file