-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add translation for cmd_parameter #998
Conversation
update from origin
```eval_rst | ||
.. _cmd_detail_introduction: | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1-4行请保留
@@ -1,7 +1,4 @@ | |||
```eval_rst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
该文件请不要修改
</tr> | ||
|
||
<tr> | ||
<td class="left" rowspan = "16">参数服务(PServer)</td><td class="left">start_pserver</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
参数服务器
</tr> | ||
|
||
<tr> | ||
<td class="left">数据提供(Data Provider)</td><td class="left">memory_threshold_on_load_data</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
数据提供器
- 类型: bool (默认: 1). | ||
|
||
* `--local` | ||
- 训练过程是否为本地模式,设置为true使用本地训练或者使用集群上的一个节点,否则使用集群上的多台机器。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
集群上的多台机器 -> 多机训练。
- 类型: int32 (默认: 0). | ||
|
||
* `--test_wait` | ||
- 指示当指定轮的测试模型不存在时,是否需要等待该轮模型参数。如果在集群的提交环境中设置了test_data_path,将会启动一个进程执行测试,因此我们需要设置test_wait=1。需要注意的是,在集群提交环境中,该参数已经默认设置为True. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果在集群的提交环境中设置了test_data_path,将会启动一个进程执行测试,因此我们需要设置test_wait=1。需要注意的是,在集群提交环境中,该参数已经默认设置为True.
->
如果在训练期间同时发起另外一个进程进行测试,可以使用该参数。
方便的话,还麻烦帮忙改下英文文档。
- 类型: bool (默认: 0). | ||
|
||
* `--model_list` | ||
- 测试时指定的存储模型列表的文件。在集群提交环境中,在指定model_path之后,该参数会自动设置. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
" 在集群提交环境中,在指定model_path之后,该参数会自动设置. ", 同样也可以删掉英文文档部分。
这句删掉吧,这句是适应于内部的集群提交环境,对外不适用。
- 类型: int32 (默认: 1). | ||
|
||
* `--diy_beam_search_prob_so` | ||
- 指定共享的动态库,用户可以定义Paddle之外的文件. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用户可以自定义beam search的方法,编译成动态库,供PaddlePaddle加载。 该参数用于指定动态库路径。
- 内存容限阈值,当超过该阈值时,停止加载数据. | ||
- 类型: double (默认: 1.0). | ||
|
||
## Unit Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
单元测试
- 使用checkgrad模式时的参数变化大小. | ||
- 类型: double (默认: 1e-05). | ||
|
||
## 参数服务器(Parameter Server)和分布式通信(Distributed Communication) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
去掉()里的英文吧。
- 类型: bool (默认: 0). | ||
|
||
* `--pservers` | ||
- 参数服务器的IP地址,以逗号间隔,在集群提交环境中自动设置. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"在集群提交环境中自动设置" 这句也删掉吧。
- 类型: int32 (默认: 1). | ||
|
||
* `--trainer_id` | ||
- 在分布式训练中,每个训练器必须指定一个唯一的id号,从0到num_trainers-1。0号训练器是主训练器。使用者无需关心这个参数. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
训练器 -> 训练节点
* dygraph translation * cn doc bug fix * translate dygraph according to 1.5.1 website + bug fix
resolve #836