Unverified Commit 8974c50b authored by YiYi Xu's avatar YiYi Xu Committed by GitHub
Browse files

[SVD] fix a bug when passing image as tensor (#6999)



* fix

* update docstring

---------
Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
parent c18058b4
...@@ -333,8 +333,7 @@ class StableVideoDiffusionPipeline(DiffusionPipeline): ...@@ -333,8 +333,7 @@ class StableVideoDiffusionPipeline(DiffusionPipeline):
Args: Args:
image (`PIL.Image.Image` or `List[PIL.Image.Image]` or `torch.FloatTensor`): image (`PIL.Image.Image` or `List[PIL.Image.Image]` or `torch.FloatTensor`):
Image or images to guide image generation. If you provide a tensor, it needs to be compatible with Image or images to guide image generation. If you provide a tensor, the expected value range is between `[0,1]`.
[`CLIPImageProcessor`](https://huggingface.co/lambdalabs/sd-image-variations-diffusers/blob/main/feature_extractor/preprocessor_config.json).
height (`int`, *optional*, defaults to `self.unet.config.sample_size * self.vae_scale_factor`): height (`int`, *optional*, defaults to `self.unet.config.sample_size * self.vae_scale_factor`):
The height in pixels of the generated image. The height in pixels of the generated image.
width (`int`, *optional*, defaults to `self.unet.config.sample_size * self.vae_scale_factor`): width (`int`, *optional*, defaults to `self.unet.config.sample_size * self.vae_scale_factor`):
......
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