未验证 提交 66be3a0c 编写于 作者: B Bai Yifan 提交者: GitHub

fix parallel strategy redefine (#258) (#259)

上级 e8e48533
......@@ -176,8 +176,6 @@ class DARTSearch(object):
"""
if self.use_data_parallel:
strategy = fluid.dygraph.parallel.prepare_context()
model_parameters = [
p for p in self.model.parameters()
if p.name not in [a.name for a in self.model.arch_parameters()]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册