From a179af672960309951dc90fcc6096479746f9522 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 20 Jul 2019 17:08:08 +0200 Subject: [PATCH] updates --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 740df5d3..ad3f03be 100644 --- a/test.py +++ b/test.py @@ -103,7 +103,7 @@ def test(cfg, jdict.append({'image_id': image_id, 'category_id': coco91class[int(d[6])], 'bbox': [float3(x) for x in box[di]], - 'score': float(d[4])}) + 'score': float(format('%.5f', d[4]))}) # Clip boxes to image bounds clip_coords(pred, (height, width))