From e703f0ab6eb0d06dd2a875e461593d29129d9351 Mon Sep 17 00:00:00 2001 From: michaelzhaobin <31604328+michaelzhaobin@users.noreply.github.com> Date: Mon, 5 Mar 2018 21:17:50 +0800 Subject: [PATCH] Update blob.py --- lib/utils/blob.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/blob.py b/lib/utils/blob.py index 63c1b52e..d865cd12 100644 --- a/lib/utils/blob.py +++ b/lib/utils/blob.py @@ -38,5 +38,6 @@ def prep_im_for_blob(im, pixel_means, target_size, max_size): im_scale = float(max_size) / float(im_size_max) im = cv2.resize(im, None, None, fx=im_scale, fy=im_scale, interpolation=cv2.INTER_LINEAR) + # length*im_scale return im, im_scale