From 2c29218e4ee70afa28076709791ed14021575511 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 13 Feb 2018 21:25:11 +0000
Subject: [PATCH] Added compute_mAP.cmd for calculation mAP for Pascal VOC 2007 dataset. Added reval_voc_py3.py and voc_eval_py3.py for Python3.
---
src/box.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/box.h b/src/box.h
index 998f58a..a5f8cee 100644
--- a/src/box.h
+++ b/src/box.h
@@ -9,8 +9,13 @@
float dx, dy, dw, dh;
} dbox;
+box float_to_box(float *f);
float box_iou(box a, box b);
+float box_rmse(box a, box b);
dbox diou(box a, box b);
-void do_nms(box *boxes, float **probs, int num_boxes, int classes, float thresh);
+void do_nms(box *boxes, float **probs, int total, int classes, float thresh);
+void do_nms_sort(box *boxes, float **probs, int total, int classes, float thresh);
+box decode_box(box b, box anchor);
+box encode_box(box b, box anchor);
#endif
--
Gitblit v1.10.0