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

Batch Size > 1 caused error #16

Open
fisal-ITS opened this issue Jun 7, 2023 · 2 comments
Open

Batch Size > 1 caused error #16

fisal-ITS opened this issue Jun 7, 2023 · 2 comments

Comments

@fisal-ITS
Copy link

I tried to use a batch size of more than 1 to train TransVOD Lite using a custom dataset. But I got the following error RuntimeError: The size of tensor a (28) must match the size of tensor b (14) at non-singleton dimension 0 . Is there a solution to this problem? Or maybe there is another solution so that I can speed up the training process a little.

@fisal-ITS
Copy link
Author

help?

@goku-krish10
Copy link

It's normal. always have batch size 1. The number of frames become the batch size, so the code is not adopted to have more than one batch size

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