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

CR Load Image List Plus: Error - Sizes of tensors must match? Match what? #209

Open
ewebgh33 opened this issue Sep 16, 2024 · 0 comments
Open

Comments

@ewebgh33
Copy link

ewebgh33 commented Sep 16, 2024

Sizes of tensors must match except in dimension 0. Expected size 1024 but got size 512 for tensor number 1 in the list

I have a folder of images, all square. Some are 512, some 1024, maybe a couple are like 716 or something.
This really shouldn't matter, as the very next node is a resize anyway.

The first node in the workflow to process is CR Load Image List Plus. As soon as it starts to process, it pops up with the error:
Sizes of tensors must match except in dimension 0. Expected size 1024 but got size 512 for tensor number 1 in the list
It hasn't got far enough into the workflow to get a mismatch to any other node... so why is it throwing an error on this first node, load images? Mismatch with what? Itself? Does it expect all images in a folder to be the same dimensions?

I am piping in a latent of 1024px later in the flow - but the error comes up well before this processes. And like I said, there's a resize straight after Load Images List Plus anyway.

If I load image 1 (image zero? the first in the folder), manually with a Load Image node, it works fine.
But if I replace Load Image with CR Load Images List Plus, it fails. ??

I also tried the non-PLUS version of the load images list, same error.

Thanks

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