DID-MDN icon indicating copy to clipboard operation
DID-MDN copied to clipboard

Why do you set the batch size to 1?

Open dq0309 opened this issue 5 years ago • 2 comments

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

dq0309 avatar Dec 29 '19 11:12 dq0309

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

lordbutters avatar Feb 22 '20 12:02 lordbutters

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

DuHxuan avatar Mar 25 '22 04:03 DuHxuan