mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
Support SD3.5M multi resolutional training
This commit is contained in:
@@ -2510,6 +2510,9 @@ class DatasetGroup(torch.utils.data.ConcatDataset):
|
||||
for dataset in self.datasets:
|
||||
dataset.verify_bucket_reso_steps(min_steps)
|
||||
|
||||
def get_resolutions(self) -> List[Tuple[int, int]]:
|
||||
return [(dataset.width, dataset.height) for dataset in self.datasets]
|
||||
|
||||
def is_latent_cacheable(self) -> bool:
|
||||
return all([dataset.is_latent_cacheable() for dataset in self.datasets])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user