Mercurial Hosting > traffic-intelligence
changeset 875:45384b45e35a
correcting error
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 15 Feb 2017 14:59:57 -0500 |
parents | a1e92c48dfb4 |
children | c7e72d758049 |
files | scripts/compute-clearmot.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r a1e92c48dfb4 -r 45384b45e35a scripts/compute-clearmot.py --- a/scripts/compute-clearmot.py Wed Feb 15 14:57:49 2017 -0500 +++ b/scripts/compute-clearmot.py Wed Feb 15 14:59:57 2017 -0500 @@ -63,7 +63,7 @@ motp, mota, mt, mme, fpt, gt = moving.computeClearMOT(annotations, objects, args.matchingDistance, args.firstInstant, args.lastInstant) if args.csvOutput: - print(','.join([motp, mota, mt, mme, fpt])) + print('{},{},{},{},{}'.format(motp, mota, mt, mme, fpt)) else: print 'MOTP: {}'.format(motp) print 'MOTA: {}'.format(mota)