Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleFL
提交
fdc4838a
P
PaddleFL
项目概览
PaddlePaddle
/
PaddleFL
通知
35
Star
5
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
6
列表
看板
标记
里程碑
合并请求
4
Wiki
3
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleFL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
6
Issue
6
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
3
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fdc4838a
编写于
5月 09, 2020
作者:
J
jingqinghe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add benchmark
上级
a2854710
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
37 addition
and
2 deletion
+37
-2
python/paddle_fl/mpc/README.md
python/paddle_fl/mpc/README.md
+37
-2
未找到文件。
python/paddle_fl/mpc/README.md
浏览文件 @
fdc4838a
...
...
@@ -157,7 +157,15 @@ To make the MPC training run, we need to deploy the training processes on multip
1.
Start a Redis service, and keep the service address:
```
sh
redis-server
--port
${
port
}
# we provide a stable redis package for you to download
wget https://paddlefl.bj.bcebos.com/redis-stable.tar
--no-check-certificate
tar
-xf
redis-stable.tar
cd
redis-stable
&&
make
# start service
cd
src
./redis-server
--port
${
port
}
```
2.
Deploy the above
`train.py`
on three machines, and run with different role settings (from 0 to 2):
...
...
@@ -176,7 +184,34 @@ Then the training process will start and the underlying MPC-based operators will
## Benchmark Task
put result here as a table? | DataSet/Task | training methods | Result | | --- | --- | --- |
#### Convergence of paddle_fl.mpc vs paddle
-
Dataset: Boston house price dataset
-
Number of Epoch: 20
-
Batch Size: 10
-
Loss of Step 0 in each Epoch
| Epoch/Step | paddle_fl.mpc | Paddle |
| Epoch=0, Step=0 | 738.39491 | 738.46204 |
| Epoch=1, Step=0 | 630.68834 | 629.9071 |
| Epoch=2, Step=0 | 539.54683 | 538.1757 |
| Epoch=3, Step=0 | 462.41159 | 460.64722 |
| Epoch=4, Step=0 | 397.11516 | 395.11017 |
| Epoch=5, Step=0 | 341.83102 | 339.69815 |
| Epoch=6, Step=0 | 295.01114 | 292.83597 |
| Epoch=7, Step=0 | 255.35141 | 253.19429 |
| Epoch=8, Step=0 | 221.74739 | 219.65132 |
| Epoch=9, Step=0 | 193.26459 | 191.25981 |
| Epoch=10, Step=0 | 169.11423 | 167.2204 |
| Epoch=11, Step=0 | 148.63138 | 146.85835 |
| Epoch=12, Step=0 | 131.25081 | 129.60391 |
| Epoch=13, Step=0 | 116.49708 | 114.97599 |
| Epoch=14, Step=0 | 103.96669 | 102.56854 |
| Epoch=15, Step=0 | 93.31706 | 92.03858 |
| Epoch=16, Step=0 | 84.26219 | 83.09653 |
| Epoch=17, Step=0 | 76.55664 | 75.49785 |
| Epoch=18, Step=0 | 69.99673 | 69.03561 |
| Epoch=19, Step=0 | 64.40562 | 63.53539 |
## On Going and Future Work
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录