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

104: RuntimeWarning: invalid value encountered in cast return tensor_to_int(tensor, 8).astype(np.uint8) #335

Open
fergomez1 opened this issue Dec 9, 2024 · 1 comment

Comments

@fergomez1
Copy link

after the update, I can't generate videos anymore, i only get black screen videos, is anyone having this issue?

This is the error I am getting.

104: RuntimeWarning: invalid value encountered in cast
return tensor_to_int(tensor, 8).astype(np.uint8)

Thank you

@AustinMroz
Copy link
Collaborator

This is unlikely to be a problem with VHS. If you instead connect the image output to a Preview Image node or a SaveAnimatedWEBP node, you will probably get the same black output.

This issue is not uncommon, but can be difficult to debug since no error is produced until the end. Try

  • Pulling out parts of the workflow to find if there's a single node causing the issue
  • Consider setting --preview-method latent2rgb as a launch flag. Are the previews in KSampler nodes ever not black?

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