未验证 提交 339e6c41 编写于 作者: G Guanghua Yu 提交者: GitHub

Initialize batch_size, prevent gpu memory overflow in infer (#1768)

上级 0f15fc20
......@@ -190,7 +190,7 @@ class Reader(object):
dataset=None,
sample_transforms=None,
batch_transforms=None,
batch_size=None,
batch_size=1,
shuffle=False,
drop_last=False,
drop_empty=True,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册