Unverified Commit 9e720164 authored by Aryan V S's avatar Aryan V S Committed by GitHub
Browse files

[docs] AnimateDiff Video-to-Video (#6712)



* add animatediff vid2vid to docs

* Update docs/source/en/api/pipelines/animatediff.md
Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>

* apply suggestions from review

---------
Co-authored-by: default avatarSteven Liu <59462357+stevhliu@users.noreply.github.com>
parent 3e9716f2
...@@ -118,7 +118,7 @@ from PIL import Image ...@@ -118,7 +118,7 @@ from PIL import Image
adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-2", torch_dtype=torch.float16) adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-2", torch_dtype=torch.float16)
# load SD 1.5 based finetuned model # load SD 1.5 based finetuned model
model_id = "SG161222/Realistic_Vision_V5.1_noVAE" model_id = "SG161222/Realistic_Vision_V5.1_noVAE"
pipe = AnimateDiffVideoToVideoPipeline.from_pretrained(model_id, motion_adapter=adapter, torch_dtype=torch.float16) pipe = AnimateDiffVideoToVideoPipeline.from_pretrained(model_id, motion_adapter=adapter, torch_dtype=torch.float16).to("cuda")
scheduler = DDIMScheduler.from_pretrained( scheduler = DDIMScheduler.from_pretrained(
model_id, model_id,
subfolder="scheduler", subfolder="scheduler",
...@@ -413,14 +413,12 @@ Make sure to check out the Schedulers [guide](../../using-diffusers/schedulers) ...@@ -413,14 +413,12 @@ Make sure to check out the Schedulers [guide](../../using-diffusers/schedulers)
[[autodoc]] AnimateDiffPipeline [[autodoc]] AnimateDiffPipeline
- all - all
- __call__ - __call__
- enable_freeu
- disable_freeu ## AnimateDiffVideoToVideoPipeline
- enable_free_init
- disable_free_init [[autodoc]] AnimateDiffVideoToVideoPipeline
- enable_vae_slicing - all
- disable_vae_slicing - __call__
- enable_vae_tiling
- disable_vae_tiling
## AnimateDiffPipelineOutput ## AnimateDiffPipelineOutput
......
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