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 set the batch size to 1? #30

Open
dq0309 opened this issue Dec 29, 2019 · 2 comments
Open

Why do you set the batch size to 1? #30

dq0309 opened this issue Dec 29, 2019 · 2 comments

Comments

@dq0309
Copy link

dq0309 commented Dec 29, 2019

你好,有个问题为什么batchsize设置为1啊?

@lordbutters
Copy link

你好,有个问题为什么batchsize设置为1啊?
我把bs设置为10之后,出现了 only size-1 arrays can be converted to python scalars 的报错,请问你遇到了吗?怎么解决了。

@DuHxuan
Copy link

DuHxuan commented Mar 25, 2022

你好,我也遇到了同样的问题,把batchsize设置为别的数后,出现了only size-1 arrays can be converted to python scalars 的报错,请问你解决了吗?怎么解决的?

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

3 participants