"src/vscode:/vscode.git/clone" did not exist on "15eb77bc4cf2ccb40781cb630b9a734b43cffcb8"
Unverified Commit 67b3fe0a authored by Dhruv Nair's avatar Dhruv Nair Committed by GitHub
Browse files

Fix resize issue in SVD pipeline with VideoProcessor (#8229)



update
Co-authored-by: default avatarSayak Paul <spsayakpaul@gmail.com>
parent baab0656
......@@ -178,7 +178,7 @@ class StableVideoDiffusionPipeline(DiffusionPipeline):
feature_extractor=feature_extractor,
)
self.vae_scale_factor = 2 ** (len(self.vae.config.block_out_channels) - 1)
self.video_processor = VideoProcessor(do_resize=False, vae_scale_factor=self.vae_scale_factor)
self.video_processor = VideoProcessor(do_resize=True, vae_scale_factor=self.vae_scale_factor)
def _encode_image(
self,
......
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