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

RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 0 but got size 1 for tensor number 1 in the list. #26

Open
hhkcu opened this issue Nov 4, 2024 · 0 comments

Comments

@hhkcu
Copy link

hhkcu commented Nov 4, 2024

After forcing both models to load on the cuda:0 device, and cutting the sample footage to 3 seconds to allow it to fit within my RAM, I get an error during the first step:

Traceback (most recent call last):
  File "E:\open-oasis\generate.py", line 83, in <module>
    x = torch.cat([x, chunk], dim=1)
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 0 but got size 1 for tensor number 1 in the list.

Any help here?

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

1 participant