reformat code
This commit is contained in:
1 parent
b35f76e3d0
commit
f5da528d28
5 files changed
+15
-13
No files matched your search
+1
-1
@@ -423,7 +423,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing
|
||||
ne += 1 # print('empty labels for image %s' % self.img_files[i]) # file empty
|
||||
# os.system("rm '%s' '%s'" % (self.img_files[i], self.label_files[i])) # remove
|
||||
|
||||
if rank in [-1,0]:
|
||||
if rank in [-1, 0]:
|
||||
pbar.desc = 'Scanning labels %s (%g found, %g missing, %g empty, %g duplicate, for %g images)' % (
|
||||
cache_path, nf, nm, ne, nd, n)
|
||||
if nf == 0:
|
||||
|
||||
Reference in new issue
Block a user