print dataset index in making buckets

This commit is contained in:
Kohya S
2023-03-01 21:30:12 +09:00
parent 089a63c573
commit d1d7d432e9
2 changed files with 5 additions and 4 deletions

View File

@@ -1054,9 +1054,9 @@ class DatasetGroup(torch.utils.data.ConcatDataset):
for dataset in self.datasets:
dataset.add_replacement(str_from, str_to)
def make_buckets(self):
for dataset in self.datasets:
dataset.make_buckets()
# def make_buckets(self):
# for dataset in self.datasets:
# dataset.make_buckets()
def cache_latents(self, vae):
for dataset in self.datasets: