From 6f05c5347e6fce54745e0603882aefca48df4738 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 25 May 2019 11:57:19 +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 991118a8..c8d23395 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -204,7 +204,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing assert (l[:, 1:] <= 1).all(), 'non-normalized or out of bounds coordinate labels: %s' % file self.labels[i] = l except: - print('Warning: missing labels for %s' % self.img_files[i]) # missing label file + pass # print('Warning: missing labels for %s' % self.img_files[i]) # missing label file assert len(np.concatenate(self.labels, 0)) > 0, 'No labels found. Incorrect label paths provided.' def __len__(self):