Skip to content

Commit d446636

Browse files
author
bghira
committed
MultiAspectSampler: do not resize to 1024px unconditonally
1 parent 8d554d9 commit d446636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helpers/training/vae_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ def set_vae_dtype(self, args, vae):
5151
def process_directory(self, vae, accelerator, args):
5252
if accelerator.is_main_process:
5353
logger.info(f"Pre-computing VAE latent space.")
54-
vaecache = VAECache(vae, accelerator)
54+
vaecache = VAECache(vae, accelerator, resolution=args.resolution)
5555
vaecache.process_directory(args.instance_data_dir)

0 commit comments

Comments
 (0)