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

The batch size for the validation stage must be one #17

Closed
zc1616 opened this issue May 10, 2021 · 2 comments
Closed

The batch size for the validation stage must be one #17

zc1616 opened this issue May 10, 2021 · 2 comments

Comments

@zc1616
Copy link

zc1616 commented May 10, 2021

Hi Hao Xiang

I can't run the demo due to the limit that gpu usage must be over 20 percentage. Therefore, I found the validation set the batchsize

must be one. Can I change the batchsize in validation?

Hope your reply!

@haoxiangsnr
Copy link
Member

Hi,

Sorry, since samples have different lengths, you cannot add the batch_size in the validation stage.

@zc1616
Copy link
Author

zc1616 commented May 11, 2021

Thanks for your reply!

Maybe I can cut the samples in fixed lengsths.

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