[docs] AnimateDiff Video-to-Video (#6712)
* add animatediff vid2vid to docs * Update docs/source/en/api/pipelines/animatediff.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * apply suggestions from review --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
|||||||
[[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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user