未验证 提交 7a951e87 编写于 作者: L littletomatodonkey 提交者: GitHub

fix dist train (#4940)

上级 787f1aaf
......@@ -411,10 +411,6 @@ def train_resnet():
batch_size=batch_size,
drop_last=True)
if args.use_data_parallel:
train_reader = fluid.contrib.reader.distributed_batch_reader(
train_reader)
if args.use_imagenet_data:
test_reader = imagenet_reader.val(settings=args)
else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册