Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

init_video problem #153

@Yuuki-00

Description

@Yuuki-00

when running inference with an init_video, runtime error happen.
スクリーンショット 2023-12-12 19 50 20

timesteps = timesteps[0] (inference.py line194) → for timestep in timesteps(diffusers/schedulers/scheduling_dpmsolver_multistep.py line900)
This error, "iteration over a 0-d tensor," occurs when attempting to iterate over a 0-dimensional tensor using a for loop. A 0-dimensional tensor represents a scalar value, effectively having no elements to iterate through. Consequently, attempting iteration on such a tensor is invalid and results in an error because there are no elements within the tensor to iterate over.

It's possible that updates to the Git repository might be causing this issue. Are there any potential solutions to this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions