alibaba / animate-anything

Fine-Grained Open Domain Image Animation with Motion Guidance
https://animationai.github.io/AnimateAnything/
MIT License
779 stars 63 forks source link

for svd: open more parameters, add gradio ui and fix error #27

Closed dailingx closed 10 months ago

dailingx commented 10 months ago

I have made the following changes:

  1. Added app_svd.py based on app.py, which is a Gradio UI for animate_anything_svd_v1.0 or SVD.
  2. Opened more commonly used parameters for running inference in train_svd.py, including fps, motion_bucket_id, and decode_chunk_size. This paramters are also opened by diffusers.
  3. Printed error logs when DataLoader encounters an error, as linked to issue #23 .
  4. Fixed some syntax errors in dataset.py.

I use SVD extensively, so I believe these changes will significantly simplify its use. If you have any better suggestions, please let me know.