Update animatediff/pipelines/pipeline_animation.py
Browse files
animatediff/pipelines/pipeline_animation.py
CHANGED
@@ -327,7 +327,6 @@ class AnimationPipeline(DiffusionPipeline):
|
|
327 |
latents = torch.cat(latents, dim=0).to(device)
|
328 |
else:
|
329 |
latents = torch.randn(shape, generator=generator, device=rand_device, dtype=dtype).to(device)
|
330 |
-
|
331 |
if init_latents is not None:
|
332 |
for i in range(video_length):
|
333 |
# I just feel dividing by 30 yield stable result but I don't know why
|
|
|
327 |
latents = torch.cat(latents, dim=0).to(device)
|
328 |
else:
|
329 |
latents = torch.randn(shape, generator=generator, device=rand_device, dtype=dtype).to(device)
|
|
|
330 |
if init_latents is not None:
|
331 |
for i in range(video_length):
|
332 |
# I just feel dividing by 30 yield stable result but I don't know why
|