Mercurial > hg > aimc
changeset 383:b4bfdfae0dd7
- Bugfixen
author | tomwalters |
---|---|
date | Tue, 14 Sep 2010 00:36:42 +0000 |
parents | 068e33a65f8d |
children | 779bc83bf36c |
files | trunk/experiments/scripts/cnbh-syllables/results_plotting/gen_results.py trunk/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/experiments/scripts/cnbh-syllables/results_plotting/gen_results.py Tue Sep 14 00:18:47 2010 +0000 +++ b/trunk/experiments/scripts/cnbh-syllables/results_plotting/gen_results.py Tue Sep 14 00:36:42 2010 +0000 @@ -68,7 +68,7 @@ total_value_count = int(value) if option in ("-p", "--spoke_pattern_file"): spoke_pattern_file = value - if option in ("-o", "--output_filename") + if option in ("-o", "--output_filename"): output_filename = value except Usage, err:
--- a/trunk/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh Tue Sep 14 00:18:47 2010 +0000 +++ b/trunk/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh Tue Sep 14 00:36:42 2010 +0000 @@ -90,7 +90,7 @@ -I $TEST_MLF $WORKING_DIRECTORY/$SYLLIST_COMPLETE $WORKING_DIRECTORY/$hmm_type/$RECOUT > $WORKING_DIRECTORY/$hmm_type/${RESULTS_FILE}_iteration_$iter # Count the number of instances of each talker appearing in the list of errors. grep Aligned $WORKING_DIRECTORY/$hmm_type/${RESULTS_FILE}_iteration_$iter| sed -E "s/.*\/..\/([a-z]{2})([0-9]{2,3}\.[0-9])p([0-9]{2,3}\.[0-9])s.*/\2 \3/" | sort | uniq -c > $WORKING_DIRECTORY/$hmm_type/${MISCLASSIFIED}_iteration_$iter - python ./cnbh-syllables/results_plotting/gen_results.py --input_file=$WORKING_DIRECTORY/$hmm_type/${MISCLASSIFIED}_iteration_$iter --train_talkers=$WORKING_DIRECTORY/$hmm_type/training_talkers --test_talkers=$WORKING_DIRECTORY/$hmm_type/testing_talkers --output_filename=$WORKING_DIRECTORY/$hmm_type/results_iteration_${iter}.txt --spoke_pattern=cnbh-syllables/run_training_and_testing/train_test_sets/gen_spoke_points/spoke_pattern.txt + python ./cnbh-syllables/results_plotting/gen_results.py --input_file=$WORKING_DIRECTORY/$hmm_type/${MISCLASSIFIED}_iteration_$iter --train_talkers=$WORKING_DIRECTORY/training_talkers --test_talkers=$WORKING_DIRECTORY/testing_talkers --output_filename=$WORKING_DIRECTORY/$hmm_type/results_iteration_${iter}.txt --spoke_pattern=cnbh-syllables/run_training_and_testing/train_test_sets/gen_spoke_points/spoke_pattern.txt python ./cnbh-syllbles/results_plotting/spider_plot.py --input_file=$WORKING_DIRECTORY/$hmm_type/results_iteration_${iter}.txt --output_file=$WORKING_DIRECTORY/$hmm_type/results_iteration_${iter}.png done touch $WORKING_DIRECTORY/$hmm_type/.hmm_success