Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleFL
提交
5249501b
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看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
5249501b
编写于
8月 03, 2020
作者:
H
heya02
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add for docs
上级
07e4d7bd
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
19 addition
and
1 deletion
+19
-1
python/paddle_fl/mpc/examples/mnist_demo/README.md
python/paddle_fl/mpc/examples/mnist_demo/README.md
+9
-0
python/paddle_fl/mpc/examples/mnist_demo/README_CN.md
python/paddle_fl/mpc/examples/mnist_demo/README_CN.md
+10
-1
未找到文件。
python/paddle_fl/mpc/examples/mnist_demo/README.md
浏览文件 @
5249501b
...
...
@@ -20,6 +20,15 @@ Encrypted data files of feature and label would be generated and saved in `/tmp`
#### (2). Launch Demo with A Shell Script
You should set the env params as follow:
```
export PYTHON=/yor/python
export PATH_TO_REDIS_BIN=/path/to/redis_bin
export LOCALHOST=/your/localhost
export REDIS_PORT=/your/redis/port
```
Launch demo with the
`run_standalone.sh`
script. The concrete command is:
```
bash
...
...
python/paddle_fl/mpc/examples/mnist_demo/README_CN.md
浏览文件 @
5249501b
...
...
@@ -20,7 +20,16 @@ process_data.generate_encrypted_test_data()
#### 2. 使用shell脚本启动demo
使用
`run_standalone.sh`
脚本,启动并运行demo,命令如下:
运行demo之前,需设置以下环境变量:
```
export PYTHON=/yor/python
export PATH_TO_REDIS_BIN=/path/to/redis_bin
export LOCALHOST=/your/localhost
export REDIS_PORT=/your/redis/port
```
然后使用
`run_standalone.sh`
脚本,启动并运行demo,命令如下:
```
bash
bash run_standalone.sh mnist_demo.py
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录