Mercurial > hg > aimc
diff experiments/scripts/cnbh-syllables/results_plotting/gen_results.py @ 107:53b888e0f0df
- We'll get there in the end
author | tomwalters |
---|---|
date | Tue, 14 Sep 2010 01:14:54 +0000 |
parents | 886b6d5c52cf |
children | 97a513bc3bcf |
line wrap: on
line diff
--- a/experiments/scripts/cnbh-syllables/results_plotting/gen_results.py Tue Sep 14 01:11:40 2010 +0000 +++ b/experiments/scripts/cnbh-syllables/results_plotting/gen_results.py Tue Sep 14 01:14:54 2010 +0000 @@ -12,7 +12,7 @@ help_message = ''' -Generate a file containing all the results for a run of the +Write out all the results for a run of the syllable recognition experiment. Expected input is a 'misclassificaions' file of the type generated by run_test_instance.sh, along with the locations of files containing the training talkers and all the talkers that the system @@ -22,7 +22,6 @@ -i --input_file -t --train_talkers -s --test_talkers --o --output_filename -c --value_count -p --spoke_pattern ''' @@ -39,7 +38,7 @@ try: opts, args = getopt.getopt(argv[1:], "hi:t:s:o:c:p:v", ["help", "input_file=", "train_talkers=", - "test_talkers=", "output_filename=", + "test_talkers=", "value_count=", "spoke_pattern="]) except getopt.error, msg: raise Usage(msg) @@ -68,8 +67,6 @@ total_value_count = int(value) if option in ("-p", "--spoke_pattern"): spoke_pattern_file = value - if option in ("-o", "--output_filename"): - output_filename = value except Usage, err: print >> sys.stderr, sys.argv[0].split("/")[-1] + ": " + str(err.msg)