未验证 提交 b3d82cb5 编写于 作者: M minghaoBD 提交者: GitHub

fix demo bug in unstructured pruner (#895)

上级 c87b7f4c
...@@ -325,7 +325,7 @@ def compress(args): ...@@ -325,7 +325,7 @@ def compress(args):
fleet.save_persistables(executor=exe, dirname=args.model_path) fleet.save_persistables(executor=exe, dirname=args.model_path)
else: else:
paddle.fluid.io.save_persistables( paddle.fluid.io.save_persistables(
executor, dirname=args.model_path) executor=exe, dirname=args.model_path)
def main(): def main():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册