From 13a09fa68a073dd6504e1f3fd66b7176e5995cf9 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 9 Jul 2020 13:47:20 -0700 Subject: [PATCH] Update datasets.py --- utils/datasets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/datasets.py b/utils/datasets.py index bd42bc0..c8619f9 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -295,7 +295,6 @@ class LoadImagesAndLabels(Dataset): # for training/testing path = p # *.npy dir self.img_files = [x.replace('/', os.sep) for x in f if os.path.splitext(x)[-1].lower() in img_formats] except: - # Maybe avoid handling bare exceptions raise Exception('Error loading data from %s. See %s' % (path, help_url)) n = len(self.img_files)