# HG changeset patch # User tomwalters # Date 1284424602 0 # Node ID 63bd7787ff980c319c6044fc864b501a1efed76e # Parent 9416e88d7c569bae307af6a071b0fd36f65b1baf - Bugfixen diff -r 9416e88d7c56 -r 63bd7787ff98 experiments/scripts/cnbh-syllables/results_plotting/gen_results.py --- a/experiments/scripts/cnbh-syllables/results_plotting/gen_results.py Tue Sep 14 00:18:47 2010 +0000 +++ b/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: diff -r 9416e88d7c56 -r 63bd7787ff98 experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh --- a/experiments/scripts/cnbh-syllables/run_training_and_testing/run_test_instance.sh Tue Sep 14 00:18:47 2010 +0000 +++ b/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