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 batchsize is 1 by default #6

Open
darknli opened this issue Aug 30, 2020 · 1 comment
Open

Why batchsize is 1 by default #6

darknli opened this issue Aug 30, 2020 · 1 comment

Comments

@darknli
Copy link

darknli commented Aug 30, 2020

Thank you for your code! We know that generally larger batchsize is more beneficial to the result,I have seen that the batchsize of many open source code for split tasks is set to 1 by default, but why?Looking forward to your reply!

@JianqiangWan
Copy link
Owner

Performance is good when the batchsize is set to 1, larger may be better, but you need to pad the input image to a uniform size to form a larger batch.

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