Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleRec
提交
37a77dcd
P
PaddleRec
项目概览
PaddlePaddle
/
PaddleRec
通知
68
Star
12
Fork
5
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
27
列表
看板
标记
里程碑
合并请求
10
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleRec
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
27
Issue
27
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
37a77dcd
编写于
5月 28, 2020
作者:
X
xjqbest
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
f4c323f5
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
12 addition
and
8 deletion
+12
-8
models/rank/dnn/config.yaml
models/rank/dnn/config.yaml
+12
-8
未找到文件。
models/rank/dnn/config.yaml
浏览文件 @
37a77dcd
...
@@ -12,10 +12,6 @@
...
@@ -12,10 +12,6 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
# num of epochs
epochs
:
10
# device to run training or infer
device
:
cpu
# workspace
# workspace
workspace
:
"
paddlerec.models.rank.dnn"
workspace
:
"
paddlerec.models.rank.dnn"
...
@@ -30,7 +26,7 @@ dataset:
...
@@ -30,7 +26,7 @@ dataset:
-
name
:
dataset_infer
# name
-
name
:
dataset_infer
# name
batch_size
:
2
batch_size
:
2
type
:
DataLoader
# or QueueDataset
type
:
DataLoader
# or QueueDataset
data_path
:
"
{workspace}/data/sample_data/t
est
"
data_path
:
"
{workspace}/data/sample_data/t
rain
"
sparse_slots
:
"
click
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26"
sparse_slots
:
"
click
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26"
dense_slots
:
"
dense_var:13"
dense_slots
:
"
dense_var:13"
...
@@ -55,15 +51,23 @@ mode: runner1
...
@@ -55,15 +51,23 @@ mode: runner1
runner
:
runner
:
-
name
:
runner1
-
name
:
runner1
class
:
single_train
class
:
single_train
# num of epochs
epochs
:
10
# device to run training or infer
device
:
cpu
save_checkpoint_interval
:
2
# save model interval of epochs
save_checkpoint_interval
:
2
# save model interval of epochs
save_inference_interval
:
4
# save inference
save_inference_interval
:
4
# save inference
save_checkpoint_path
:
"
increment"
# save checkpoint path
save_checkpoint_path
:
"
increment"
# save checkpoint path
save_inference_path
:
"
inference"
# save inference path
save_inference_path
:
"
inference"
# save inference path
#
save_inference_feed_varnames: [] # feed vars of save inference
save_inference_feed_varnames
:
[]
# feed vars of save inference
#
save_inference_fetch_varnames: [] # fetch vars of save inference
save_inference_fetch_varnames
:
[]
# fetch vars of save inference
# init_model_path: "xxxx
" # load model path
init_model_path
:
"
"
# load model path
-
name
:
runner2
-
name
:
runner2
class
:
single_infer
class
:
single_infer
# num of epochs
epochs
:
10
# device to run training or infer
device
:
cpu
init_model_path
:
"
increment/0"
# load model path
init_model_path
:
"
increment/0"
# load model path
# runner will run all the phase in each epoch
# runner will run all the phase in each epoch
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录