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/classifier.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/classifier.c b/src/classifier.c
index 5e718c5..37f02d5 100644
--- a/src/classifier.c
+++ b/src/classifier.c
@@ -706,8 +706,9 @@
strtok(input, "\n");
}
image im = load_image_color(input, 0, 0);
- image r = resize_min(im, size);
- resize_network(&net, r.w, r.h);
+ image r = letterbox_image(im, net.w, net.h);
+ //image r = resize_min(im, size);
+ //resize_network(&net, r.w, r.h);
printf("%d %d\n", r.w, r.h);
float *X = r.data;
--
Gitblit v1.10.0