Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
PaddleRec
提交
a01bef33
P
PaddleRec
项目概览
BaiXuePrincess
/
PaddleRec
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleRec
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleRec
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a01bef33
编写于
4月 29, 2020
作者:
T
tangwei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add internal data
上级
8fb713c0
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
1 deletion
+7
-1
demo/ctr-dnn_train.yaml
demo/ctr-dnn_train.yaml
+1
-1
fleet_rec/run.py
fleet_rec/run.py
+3
-0
setup.py
setup.py
+3
-0
未找到文件。
demo/ctr-dnn_train.yaml
浏览文件 @
a01bef33
...
@@ -22,7 +22,7 @@ train:
...
@@ -22,7 +22,7 @@ train:
reader
:
reader
:
batch_size
:
2
batch_size
:
2
class
:
"
fleetrec.models.rank.criteo_reader"
class
:
"
fleetrec.models.rank.criteo_reader"
train_data_path
:
"
models/rank/dnn/data/train"
train_data_path
:
"
fleetrec::
models/rank/dnn/data/train"
model
:
model
:
models
:
"
fleetrec.models.rank.dnn.model"
models
:
"
fleetrec.models.rank.dnn.model"
...
...
fleet_rec/run.py
浏览文件 @
a01bef33
...
@@ -183,6 +183,9 @@ if __name__ == "__main__":
...
@@ -183,6 +183,9 @@ if __name__ == "__main__":
raise
IOError
(
"argument model: {} do not exist"
.
format
(
args
.
model
))
raise
IOError
(
"argument model: {} do not exist"
.
format
(
args
.
model
))
engine_registry
()
engine_registry
()
abs_dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
envs
.
set_runtime_environs
({
"PACKAGE_BASE"
:
abs_dir
})
which_engine
=
get_engine
(
args
.
engine
,
args
.
device
)
which_engine
=
get_engine
(
args
.
engine
,
args
.
device
)
engine
=
which_engine
(
args
)
engine
=
which_engine
(
args
)
...
...
setup.py
浏览文件 @
a01bef33
...
@@ -50,6 +50,8 @@ def build(dirname):
...
@@ -50,6 +50,8 @@ def build(dirname):
packages
=
find_packages
(
dirname
,
include
=
(
'fleetrec.*'
))
packages
=
find_packages
(
dirname
,
include
=
(
'fleetrec.*'
))
package_dir
=
{
''
:
dirname
}
package_dir
=
{
''
:
dirname
}
package_data
=
{
'fleetrec.models.rank.dnn'
:
[
'data/*/*.txt'
],
}
setup
(
setup
(
name
=
about
[
"__title__"
],
name
=
about
[
"__title__"
],
version
=
about
[
"__version__"
],
version
=
about
[
"__version__"
],
...
@@ -60,6 +62,7 @@ def build(dirname):
...
@@ -60,6 +62,7 @@ def build(dirname):
url
=
about
[
"__url__"
],
url
=
about
[
"__url__"
],
packages
=
packages
,
packages
=
packages
,
package_dir
=
package_dir
,
package_dir
=
package_dir
,
package_data
=
package_data
,
python_requires
=
">=2.7"
,
python_requires
=
">=2.7"
,
install_requires
=
requires
,
install_requires
=
requires
,
zip_safe
=
False
zip_safe
=
False
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录