提交 1d30ae11 编写于 作者: H heya02

bug_fix

上级 785bae06
......@@ -27,11 +27,9 @@ import paddle_fl.mpc as pfl_mpc
import paddle_fl.mpc.data_utils.aby3 as aby3
env_dist = os.environ
local_host= env_dist.get('LOCALHOST')
role, server, port = sys.argv[1], sys.argv[2], sys.argv[3]
# modify host(localhost).
pfl_mpc.init("aby3", int(role), local_host, server, int(port))
pfl_mpc.init("aby3", int(role), "localhost", server, int(port))
role = int(role)
# data preprocessing
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册