Giter Club home page Giter Club logo

Comments (5)

williamyang1991 avatar williamyang1991 commented on May 17, 2024

Did you change the DDIM step? Changing the DDIM step might cause this issue.
Make sure cfg.ddim_steps * cfg.mask_period[0] and cfg.ddim_steps * cfg.mask_period[1] are integers.

if i <= cfg.ddim_steps * cfg.mask_period[

from rerender_a_video.

oliverban avatar oliverban commented on May 17, 2024

Did you change the DDIM step? Changing the DDIM step might cause this issue. Make sure cfg.ddim_steps * cfg.mask_period[0] and cfg.ddim_steps * cfg.mask_period[1] are integers.

if i <= cfg.ddim_steps * cfg.mask_period[

In the webUI I might've changed the steps, yes. If there are specific requirements for that and not being able to change it, that should be stated. There seems to be too many settings that should be "hard baked" into the process, removing the sliders (if they aren't created as variables that change the underlying math so it works anyways).

Please reconsider how this is implemented, i.e, maybe make a check for integers and if not, put that out as a error. I do understand this is very new so I hope it can be made more flexible in the future - I'll come back to this one when it is ready!

from rerender_a_video.

williamyang1991 avatar williamyang1991 commented on May 17, 2024

We have fixed it. We add a constraint to ensure the steps to be a multiple of 20.

Rerender_A_Video/webUI.py

Lines 703 to 707 in 7cc5914

ddim_steps = gr.Slider(label='Steps',
minimum=20,
maximum=100,
value=20,
step=20)

from rerender_a_video.

oliverban avatar oliverban commented on May 17, 2024

We have fixed it. We add a constraint to ensure the steps to be a multiple of 20.

Rerender_A_Video/webUI.py

Lines 703 to 707 in 7cc5914

ddim_steps = gr.Slider(label='Steps',
minimum=20,
maximum=100,
value=20,
step=20)

Awesome news! :) I'll update ASAP!

from rerender_a_video.

williamyang1991 avatar williamyang1991 commented on May 17, 2024

We would like to provide more flexible options for users to try. However, this may introduce some unexpected conflict.
Thus, we are actively discovering and solving these issues.

Hope this update will solve your IndexError: list index out of range error

from rerender_a_video.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.