Update caching (#1496)
This commit is contained in:
1 parent
0822cda781
commit
bde5d9aaaa
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -472,7 +472,7 @@ class LoadImagesAndLabels(Dataset): # for training/testing
|
||||
x['hash'] = get_hash(self.label_files + self.img_files)
|
||||
x['results'] = [nf, nm, ne, nc, i]
|
||||
torch.save(x, path) # save for next time
|
||||
logging.info(f"New cache created: '{path}'")
|
||||
logging.info(f"New cache created: {path}")
|
||||
return x
|
||||
|
||||
def __len__(self):
|
||||
|
||||
Reference in new issue
Block a user