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

inference batch_size #1

Open
JasonYao81000 opened this issue Dec 25, 2018 · 1 comment
Open

inference batch_size #1

JasonYao81000 opened this issue Dec 25, 2018 · 1 comment

Comments

@JasonYao81000
Copy link

Could you explain why the batch_size must be 1 on inference mode?

@wusaifei
Copy link

wusaifei commented Sep 6, 2019

Could you explain why the batch_size must be 1 on inference mode?

Because your test set is one by one, you can only predict one result at a time. So batc_size is set to 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

2 participants