mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-06 21:52:27 +00:00
show index in caching latents
This commit is contained in:
@@ -1061,7 +1061,8 @@ class DatasetGroup(torch.utils.data.ConcatDataset):
|
||||
# dataset.make_buckets()
|
||||
|
||||
def cache_latents(self, vae):
|
||||
for dataset in self.datasets:
|
||||
for i, dataset in enumerate(self.datasets):
|
||||
print(f"[Dataset {i}]")
|
||||
dataset.cache_latents(vae)
|
||||
|
||||
def is_latent_cacheable(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user