We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d554d9 commit d446636Copy full SHA for d446636
helpers/training/vae_manager.py
@@ -51,5 +51,5 @@ def set_vae_dtype(self, args, vae):
51
def process_directory(self, vae, accelerator, args):
52
if accelerator.is_main_process:
53
logger.info(f"Pre-computing VAE latent space.")
54
- vaecache = VAECache(vae, accelerator)
+ vaecache = VAECache(vae, accelerator, resolution=args.resolution)
55
vaecache.process_directory(args.instance_data_dir)
0 commit comments