Mercurial > hg > aimc
changeset 58:8be2b22a6593
- AWS fixes (part 1)
author | tomwalters |
---|---|
date | Wed, 11 Aug 2010 08:55:29 +0000 |
parents | 22cd7c3f782c |
children | b990812568d2 |
files | experiments/scripts/master.sh experiments/scripts/setup_aws_instance.sh |
diffstat | 2 files changed, 17 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/experiments/scripts/master.sh Tue Aug 10 12:51:31 2010 +0000 +++ b/experiments/scripts/master.sh Wed Aug 11 08:55:29 2010 +0000 @@ -25,7 +25,8 @@ set -u if [ ! -d $SOUNDS_ROOT ]; then - mkdir -p $SOUNDS_ROOT + sudo mkdir -p $SOUNDS_ROOT + sudo chown `whoami` $SOUNDS_ROOT fi # Untar the CNBH syllables database, and convert the files from FLAC to WAV @@ -53,6 +54,13 @@ # 1. Standard MFCC features # 2. AIM features # 3. MFCC features with optimal VTLN + + +if [ ! -d $FEATURES_ROOT ]; then + sudo mkdir -p $FEATURES_ROOT + sudo chown `whoami` $FEATURES_ROOT +fi + for SOURCE_SNR in $FEATURE_DIRS; do if [ ! -e $FEATURES_ROOT/mfcc/$SOURCE_SNR/.make_mfcc_features_success]
--- a/experiments/scripts/setup_aws_instance.sh Tue Aug 10 12:51:31 2010 +0000 +++ b/experiments/scripts/setup_aws_instance.sh Wed Aug 11 08:55:29 2010 +0000 @@ -1,5 +1,13 @@ #!/bin/bash # Run ami-2fc2e95b (32 bit) or ami-05c2e971 (64 bit) in eu-west zone +# ec2-run-instances --user-data-file ec2_user_data.sh \ +# --key tom_eu_west \ +# --instance-type m1.small \ +# --instance-count 1 \ +# --region eu-west-1 \ +# --availability-zone eu-west-1b \ +# ami-2fc2e95b + sudo apt-get -y update sudo apt-get -y install subversion scons pkg-config libsndfile-dev build-essential libboost-dev libc6-dev-i386 python