continue-revolution / sd-webui-animatediff

AnimateDiff for AUTOMATIC1111 Stable Diffusion WebUI
Other
2.93k stars 248 forks source link

[Bug]: Number of frames has no effect at all #538

Open 1manfactory opened 2 weeks ago

1manfactory commented 2 weeks ago

Is there an existing issue for this?

Have you read FAQ on README?

What happened?

I wanted to create a 2:15 long morphing video of 9 images for a song. So I set number of frames to 2025 with FPS 15 which should generate a video of 2:15 long. But the video is always 0:11 long.

Steps to reproduce the problem

image

What should have happened?

A video of 2:15 long should be generated

Commit where the problem happens

webui: extension: AnimateDiff

API  •  Github  •  Gradio  •  Startup profile  •  Reload UI version: v1.9.4  •  python: 3.10.6  •  torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2  •  checkpoint: 879db523c3

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

--xformers  --no-half-vae

Console logs

2024-06-23 20:11:11,043 - AnimateDiff - INFO - [i2i batch] Will process 9 images, creating 1 new videos.00, 164.67s/it]
2024-06-23 20:11:11,560 - AnimateDiff - INFO - AnimateDiff process start.
2024-06-23 20:11:11,572 - AnimateDiff - INFO - Injecting motion module mm_sd_v15_v2.ckpt into SD1.5 UNet middle block.
2024-06-23 20:11:11,572 - AnimateDiff - INFO - Injecting motion module mm_sd_v15_v2.ckpt into SD1.5 UNet input blocks.
2024-06-23 20:11:11,572 - AnimateDiff - INFO - Injecting motion module mm_sd_v15_v2.ckpt into SD1.5 UNet output blocks.
2024-06-23 20:11:11,573 - AnimateDiff - INFO - Setting DDIM alpha.
2024-06-23 20:11:11,577 - AnimateDiff - INFO - Injection finished.
2024-06-23 20:11:11,578 - AnimateDiff - INFO - AnimateDiff + ControlNet will generate 9 frames.
  0%|                                                                                            | 0/1 [00:00<?, ?it/s]2024-06-23 20:11:15,957 - AnimateDiff - INFO - inner model forward hooked
100%|████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:22<00:00, 22.97s/it]
2024-06-23 20:11:52,637 - AnimateDiff - INFO - Restoring DDIM alpha.                             | 0/1 [00:00<?, ?it/s]
2024-06-23 20:11:52,637 - AnimateDiff - INFO - Removing motion module from SD1.5 UNet input blocks.
2024-06-23 20:11:52,637 - AnimateDiff - INFO - Removing motion module from SD1.5 UNet output blocks.
2024-06-23 20:11:52,637 - AnimateDiff - INFO - Removing motion module from SD1.5 UNet middle block.
2024-06-23 20:11:52,638 - AnimateDiff - INFO - Removal finished.
2024-06-23 20:11:52,638 - AnimateDiff - INFO - Saving output formats: MP4, PNG
Total frames to FILM-interpolate: 9. Total frame-pairs: 8.
FILM progress: 100%|█████████████████████████████████████████████████████████████████████| 8/8 [01:18<00:00,  9.86s/it]
Interpolation done in 79.36 seconds!

Additional information

No response

zappityzap commented 2 weeks ago

Can you provide all of the settings used so I can try to reproduce?