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

Error : The size of tensor a (1050) must match the size of tensor b (500) #21

Open
girithodu opened this issue Nov 9, 2023 · 3 comments

Comments

@girithodu
Copy link

How do I get past this issue if the source image tensor size is different from the target picture?

@dev-kodexo
Copy link

I am getting same error
tensor size of a should be equal to tensor size of b

@Fahad-Aslam
Copy link

Try to convert both the source and target images, ensuring that they share identical dimensions (e.g., 1024 x 1024) and equivalent color depths (e.g., 24 bits per pixel).

@kampelmuehler
Copy link

Inputs apparently must be 1024x1024 for it to work.

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

4 participants