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

Why do you use batch size = 1? #25

Open
coolbay opened this issue Sep 16, 2024 · 0 comments
Open

Why do you use batch size = 1? #25

coolbay opened this issue Sep 16, 2024 · 0 comments

Comments

@coolbay
Copy link

coolbay commented Sep 16, 2024

Very good work and neat code. I have the following question regarding the batch size.

Could you please explain the reason that you use batch size 1? Usually for other tasks, a larger batch size is perferred to fill the entire GPU. With batch size = 1, you only use a small portion of even an 11GB GPU. So you don't use a larger number for the performance purpose? Why does batch size=1 fit the task of video compression?

Also I notice that in HNeRV, batch size = 2 is used, which is also a quite small number. What will happen if you use a larger batch size to fill in the GPU?

Thank you very much! Hope to hear from you soon.

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