Commit f3e6ae8d authored by Sushil BHATTACHARJEE's avatar Sushil BHATTACHARJEE

bug fix in test program

parent e3a9a96d
Pipeline #5683 passed with stages
in 3 minutes and 41 seconds
......@@ -20,7 +20,8 @@ def main(command_line_parameters=None):
# PAI_labels = [('mattescreen-photo', 'A'), ('mattescreen-video', 'A'), ('print-fixed', 'A'), ('print-hand','A') ]
rms = PadIsoMetrics.PadIsoMetrics() # PadIsoMetrics(PAI_labels)
#rms = PadIsoMetrics.PadIsoMetrics() # PadIsoMetrics(PAI_labels)
rms = PadIsoMetrics()
devel_dict = rms.load_scores_hdf5(scorefile_devel)
test_dict = rms.load_scores_hdf5(scorefile_test)
......@@ -33,9 +34,9 @@ def main(command_line_parameters=None):
print('EER (%%): %.3f%%' % eer_devel)
test_hter, test_far, test_frr = rms.hter(test_dict, threshEER_dev)
print " * FAR : %.3f%%" % (100*test_far)
print " * FRR : %.3f%%" % (100*test_frr)
print " * HTER: %.3f%%" % (100*test_hter)
print(" * FAR : %.3f%%" % (100*test_far))
print(" * FRR : %.3f%%" % (100*test_frr))
print(" * HTER: %.3f%%" % (100*test_hter))
test_bpcer = 100.0*rms.bpcer(test_dict, threshEER_dev)
print('BPCER from dict: %.3f%%' % test_bpcer )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment