From 401a615d34a5118ecf848e1bad504741bb1a45f1 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 21 May 2019 12:59:04 +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 054eb9e0..44098898 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -199,7 +199,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing except: print('Warning: missing labels for %s' % self.img_files[i]) pass # missing label file - assert len(np.concatenate(self.labels, 0)) > 0, 'No labels found. Check label paths.' + assert len(np.concatenate(self.labels, 0)) > 0, 'No labels found. Incorrect label paths provided.' def __len__(self): return len(self.img_files)