From 587522ec56298b6c51d748457fbe372768eafc34 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 29 Apr 2019 17:58:18 +0200 Subject: [PATCH] updates --- utils/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/datasets.py b/utils/datasets.py index 6b406916..490687ab 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -144,7 +144,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing for x in self.img_files] # Rectangular Training https://github.com/ultralytics/yolov3/issues/232 - self.train_rectangular = True + self.train_rectangular = False if self.train_rectangular: bi = np.floor(np.arange(n) / batch_size).astype(np.int) # batch index nb = bi[-1] + 1 # number of batches