From 6f1b011bd99ce15449de645dc18bb29f6681af63 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 5 May 2019 14:29:30 +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 caa5b655..bd6ef6a9 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -130,7 +130,7 @@ class LoadWebcam: # for inference class LoadImagesAndLabels(Dataset): # for training/testing - def __init__(self, path, img_size=416, batch_size=16, augment=False, rect=True): + def __init__(self, path, img_size=416, batch_size=16, augment=False, rect=False): with open(path, 'r') as f: img_files = f.read().splitlines() self.img_files = list(filter(lambda x: len(x) > 0, img_files))