From f2ec1cb9ea8679a0bfe0015d7c2c65f3eb607bdc Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 30 Nov 2019 17:19:44 -0800 Subject: [PATCH] updates --- utils/datasets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/datasets.py b/utils/datasets.py index 9b2bd19c..77c7878c 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -609,8 +609,7 @@ def load_mosaic(self, index): def letterbox(img, new_shape=(416, 416), color=(128, 128, 128), auto=True, scaleFill=False, interp=cv2.INTER_AREA): - # Resize a rectangular image to a 32 pixel multiple rectangle - # https://github.com/ultralytics/yolov3/issues/232 + # Resize image to a 32-pixel-multiple rectangle https://github.com/ultralytics/yolov3/issues/232 shape = img.shape[:2] # current shape [height, width] if isinstance(new_shape, int): new_shape = (new_shape, new_shape)