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: The size of tensor a (7) must match the size of tensor b (64) at non-singleton dimension 2 #69

Closed
zeinebBC opened this issue Dec 30, 2023 · 2 comments

Comments

@zeinebBC
Copy link

I'm attempting to execute the code on my custom 3D dataset, where the images are sized at 120x120x120. However, I'm facing a RuntimeError with the message: "The size of tensor a (7) must match the size of tensor b (64) at non-singleton dimension 2." Based on a previously raised issue, it appears that the code might not be compatible with images that deviate from the default size of 1024. Should I resize my images during preprocessing, or does anyone have suggestions for a workaround to resolve this problem?

@WuJunde
Copy link
Collaborator

WuJunde commented Dec 30, 2023

We will release a new version to solve this problem in a few days.

@WuJunde
Copy link
Collaborator

WuJunde commented Jan 7, 2024

image resolution now can be resized, just set -image_size parameter in the running. check my newest update.

@WuJunde WuJunde closed this as completed Jan 7, 2024
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