From 75d8cbdd5f50c18eb85bcb5494d827e0dfc609c0 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 22 Mar 2019 14:56:43 +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 49703a91..285e51f9 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -161,7 +161,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing nL = len(labels) if nL > 0: # convert xyxy to xywh - labels[:, 1:5] = xyxy2xywh(labels[:, 1:5].copy()) / self.img_size + labels[:, 1:5] = xyxy2xywh(labels[:, 1:5]) / self.img_size if self.augment: # random left-right flip