Unverified Commit 5249a266 authored by Haruya Ishikawa's avatar Haruya Ishikawa Committed by GitHub
Browse files

fix one uncaught deprecation warning for accessing vae_latent_channels in...

fix one uncaught deprecation warning for accessing vae_latent_channels in VaeImagePreprocessor (#9372)

deprecation warning vae_latent_channels
parent 55ac421f
...@@ -569,7 +569,7 @@ class VaeImageProcessor(ConfigMixin): ...@@ -569,7 +569,7 @@ class VaeImageProcessor(ConfigMixin):
channel = image.shape[1] channel = image.shape[1]
# don't need any preprocess if the image is latents # don't need any preprocess if the image is latents
if channel == self.vae_latent_channels: if channel == self.config.vae_latent_channels:
return image return image
height, width = self.get_default_height_width(image, height, width) height, width = self.get_default_height_width(image, height, width)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment