From 429d44282cec6f07640057ff7782f5b751b02e4a Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 19 Nov 2019 20:42:44 -0800 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 dab52d64..35890c81 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -367,7 +367,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing b[[1, 3]] = np.clip(b[[1, 3]], 0, h) assert cv2.imwrite(f, img[b[1]:b[3], b[0]:b[2]]), 'Failure extracting classifier boxes' else: - ne += 1 # file empty + ne += 1 # print('empty labels for image %s' % self.img_files[i]) # file empty pbar.desc = 'Reading labels (%g found, %g missing, %g empty for %g images)' % (nf, nm, ne, n) assert nf > 0, 'No labels found. Recommend correcting image and label paths.'