MCPcopy Create free account
hub / github.com/360CVGroup/FancyVideo / ddim_inversion

Function ddim_inversion

fancyvideo/utils/util.py:90–92  ·  view source on GitHub ↗
(pipeline, ddim_scheduler, video_latent, num_inv_steps, prompt="")

Source from the content-addressed store, hash-verified

88
89@torch.no_grad()
90def ddim_inversion(pipeline, ddim_scheduler, video_latent, num_inv_steps, prompt=""):
91 ddim_latents = ddim_loop(pipeline, ddim_scheduler, video_latent, num_inv_steps, prompt)
92 return ddim_latents
93
94def load_weights(
95 animation_pipeline,

Callers

nothing calls this directly

Calls 1

ddim_loopFunction · 0.85

Tested by

no test coverage detected