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

videomae support frame size of 8 #58

Open
zhudongwork opened this issue Oct 14, 2022 · 2 comments
Open

videomae support frame size of 8 #58

zhudongwork opened this issue Oct 14, 2022 · 2 comments

Comments

@zhudongwork
Copy link

The frame size seen from the experiment of the paper is 16 or 32, does videomae support frame size of 8?

@TitaniumOne
Copy link

TitaniumOne commented Nov 11, 2022

The frame size seen from the experiment of the paper is 16 or 32, does videomae support frame size of 8?

The same problem for me, do you have any ideas?

My GPUs are limited,I need less frames(=8) and bigger batch size( > 16) as input.
If input 8 frames, then the error comes like The size of tensor a (x) must match the size of tensor b (y) at non-singleton dimension at

x = self.patch_embed(x)
x = x + self.pos_embed.type_as(x).to(x.device).clone().detach()

@JinChow
Copy link

JinChow commented Aug 11, 2023

@TitaniumOne Yeah, I have the same problem, the error comes like The size of tensor a (x) must match the size of tensor b (y) at non-singleton dimension at
x = self.patch_embed(x)
x = x + self.pos_embed.type_as(x).to(x.device).clone().detach()
Have you solve the problem? I will appreciate it if you can help me ! Thank you!

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

3 participants