Commit 4577aa6f authored by novelailab's avatar novelailab

return ids for real

parent 8056efa1
......@@ -90,7 +90,7 @@ class ShardedImageDataset(data.Dataset):
if self.outer_transform:
tensors = self.outer_transform(tensors)
return tensors
return tensors, ids
def read_from_metadata_key(self, key):
offset, size, id = self.metadata[key]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment