comparison trunk/experiments/scripts/master.sh @ 417:b0f4daed182b

- Master for distributed processing
author tomwalters
date Mon, 25 Oct 2010 03:33:59 +0000
parents 23cd0dac0ccf
children 2d0b057e525c
comparison
equal deleted inserted replaced
416:23cd0dac0ccf 417:b0f4daed182b
23 sudo apt-get -y install libc6-dev-i386 23 sudo apt-get -y install libc6-dev-i386
24 24
25 # Set these to be the location of your input database, and desired output 25 # Set these to be the location of your input database, and desired output
26 # locations. (Note: the user running this script needs write permissions on 26 # locations. (Note: the user running this script needs write permissions on
27 # the $WORKING_VOLUME.) 27 # the $WORKING_VOLUME.)
28 WORKING_VOLUME=/mnt/scratch1 28 WORKING_VOLUME=/mnt/scratch0/aim
29 29
30 SYLLABLES_DATABASE_TAR=$WORKING_VOLUME/001-downloaded_sounds_data/cnbh-syllables.tar 30 SYLLABLES_DATABASE_TAR=$WORKING_VOLUME/001-downloaded_sounds_data/cnbh-syllables.tar
31 SOUNDS_ROOT=$WORKING_VOLUME/002-sounds/ 31 SOUNDS_ROOT=$WORKING_VOLUME/002-sounds/
32 FEATURES_ROOT=$WORKING_VOLUME/003-features/ 32 FEATURES_ROOT=$WORKING_VOLUME/003-features/
33 HMMS_ROOT=$WORKING_VOLUME/004-hmms/ 33 HMMS_ROOT=$WORKING_VOLUME/004-hmms/
73 ##### 73 #####
74 # Step 002 - 74 # Step 002 -
75 # Generate versions of the CNBH syllables spoke pattern with a range of 75 # Generate versions of the CNBH syllables spoke pattern with a range of
76 # signal-to-noise ratios (SNRs). The versions are put in the directory 76 # signal-to-noise ratios (SNRs). The versions are put in the directory
77 # ${SOUNDS_ROOT}/${SNR}_dB/ for each SNR in $SNRS. 77 # ${SOUNDS_ROOT}/${SNR}_dB/ for each SNR in $SNRS.
78 SNRS="45 42 39 36 33" #" 30 27 24 21 18 15 12 9 6 3 0" 78 SNRS="45"#" 42 39 36 33" #" 30 27 24 21 18 15 12 9 6 3 0"
79 #SNRS="30" # For testing 79 #SNRS="30" # For testing
80 ./cnbh-syllables/feature_generation/pink_noise.sh $SOUNDS_ROOT/clean/ "$SNRS" 80 ./cnbh-syllables/feature_generation/pink_noise.sh $SOUNDS_ROOT/clean/ "$SNRS"
81 81
82 # Make the list of all feature drectories 82 # Make the list of all feature drectories
83 FEATURE_DIRS="clean" 83 #FEATURE_DIRS="clean"
84 FEATURE_DIRS=""
84 for SNR in $SNRS; do 85 for SNR in $SNRS; do
85 FEATURE_DIRS="$FEATURE_DIRS snr_${SNR}dB" 86 FEATURE_DIRS="$FEATURE_DIRS snr_${SNR}dB"
86 done 87 done
87 88
88 # Generate feature sets (for the full range of SNRs in $FEATURE_DIRS) 89 # Generate feature sets (for the full range of SNRs in $FEATURE_DIRS)