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)