fix dataset (#167)

single_channel
Laughing 2 years ago committed by GitHub
parent b84ed678de
commit 5e290e0d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ class BaseDataset(Dataset):
if self.single_cls: if self.single_cls:
self.update_labels(include_class=[]) self.update_labels(include_class=[])
self.ni = len(self.im_files) self.ni = len(self.labels)
# rect stuff # rect stuff
self.rect = rect self.rect = rect

Loading…
Cancel
Save