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

init_video problem #153

Open
Yuuki-00 opened this issue Dec 12, 2023 · 0 comments
Open

init_video problem #153

Yuuki-00 opened this issue Dec 12, 2023 · 0 comments

Comments

@Yuuki-00
Copy link

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?

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

No branches or pull requests

1 participant