Mercurial > hg > aimc
changeset 130:d52c80cc05b6
- New AIMCopy
author | tomwalters |
---|---|
date | Mon, 25 Oct 2010 00:30:22 +0000 |
parents | e0130f838e10 |
children | 517a7563985a |
files | experiments/scripts/cnbh-syllables/feature_generation/run_aimcopy.sh experiments/scripts/master.sh |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/experiments/scripts/cnbh-syllables/feature_generation/run_aimcopy.sh Sun Oct 24 23:53:36 2010 +0000 +++ b/experiments/scripts/cnbh-syllables/feature_generation/run_aimcopy.sh Mon Oct 25 00:30:22 2010 +0000 @@ -4,6 +4,7 @@ AIMCOPY=`which AIMCopy` if [ "$AIMCOPY" == "" ]; then echo "Please build AIM-C and make AIMCopy available in the path" + exit -1 fi set -e @@ -32,7 +33,7 @@ echo " tasks..." for ((c=1;c<=$MACHINE_CORES;c+=1)); do s=${splits[$element]} - AIMCopy -C $AIMCOPY_CONFIGURATION_FILE -D $FEATURES_DIR/aimcopy_config.out -S $s & + AIMCopy -C $AIMCOPY_CONFIGURATION_FILE -D $FEATURES_DIR/aimcopy_config.out -S $s -G $FEATURES_DIR/aimcopy_graph.dot & let element=element+1 done
--- a/experiments/scripts/master.sh Sun Oct 24 23:53:36 2010 +0000 +++ b/experiments/scripts/master.sh Mon Oct 25 00:30:22 2010 +0000 @@ -34,7 +34,8 @@ HTK_ROOT=$WORKING_VOLUME/software/htk/ AIMC_ROOT=$WORKING_VOLUME/software/aimc/ -AIMCOPY_CONFIGURATION_FILE=./cnbh-syllables/feature_generation/ssi_profile_features.aimcopyconfig +THIS_DIR=`basename $0` +AIMCOPY_CONFIGURATION_FILE=$THIS_DIR/cnbh-syllables/feature_generation/ssi_profile_features.aimcopycfg # Number of cores on the experimental machine. Various scripts will try to use # this if it's set. @@ -100,6 +101,7 @@ if [ ! -e $AIMC_ROOT/.aimc_build_success ]; then ./aimc/build_aimc.sh $AIMC_ROOT fi +export PATH=$PATH:$AIMC_ROOT/build/posix-release/ for SOURCE_SNR in $FEATURE_DIRS; do if [ ! -e $FEATURES_ROOT/mfcc/$SOURCE_SNR/.make_mfcc_features_success ]; then