Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
1manfactory opened this issue Jun 24, 2024 · 1 comment
Open
2 tasks done

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

1manfactory opened this issue Jun 24, 2024 · 1 comment

Comments

@1manfactory
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

Have you read FAQ on README?

  • I have updated WebUI and this extension to the latest version

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants