Skip to content

Commit 5cb145d

Browse files
committed
Update train_util.py
1 parent 4477116 commit 5cb145d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/train_util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1982,8 +1982,8 @@ def make_buckets(self):
19821982
self.bucket_manager = self.dreambooth_dataset_delegate.bucket_manager
19831983
self.buckets_indices = self.dreambooth_dataset_delegate.buckets_indices
19841984

1985-
def cache_latents(self, vae, vae_batch_size=1, cache_to_disk=False, is_main_process=True, cache_file_suffix=".npz", divisor=8):
1986-
return self.dreambooth_dataset_delegate.cache_latents(vae, vae_batch_size, cache_to_disk, is_main_process, cache_file_suffix, divisor)
1985+
def cache_latents(self, vae, vae_batch_size=1, cache_to_disk=False, is_main_process=True):
1986+
return self.dreambooth_dataset_delegate.cache_latents(vae, vae_batch_size, cache_to_disk, is_main_process)
19871987

19881988
def __len__(self):
19891989
return self.dreambooth_dataset_delegate.__len__()

0 commit comments

Comments
 (0)