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

problem with batch size more than 1 #6

Open
alimd94 opened this issue Jul 18, 2024 · 0 comments
Open

problem with batch size more than 1 #6

alimd94 opened this issue Jul 18, 2024 · 0 comments

Comments

@alimd94
Copy link

alimd94 commented Jul 18, 2024

Hi
I was trying to test the model on my dataset but it seems that in the code it's assumed (hard-coded) that the input always has only one sequence of frames like (1,3,3,256,256) and when I tried to input it with more than one sequences(batch size greater than 1) I got error for resizing:

File ~/MIA-VSR/archs/mia_sliding_arch.py", line 473, in forward
xh = xh.view(1,h*w,c)
^^^^^^^^^^^^^^^^
RuntimeError: shape '[1, 4096, 120]' is invalid for input of size xxxxxxx

Could you please confirm this or tell me how can I feed it with batch size greater than 1?

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