Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleRec
提交
be92338e
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看板
提交
be92338e
编写于
4月 29, 2020
作者:
T
tangwei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix forder format
上级
c2ebf30b
变更
25
显示空白变更内容
内联
并排
Showing
25 changed file
with
44 addition
and
16 deletion
+44
-16
dataset/__init__.py
dataset/__init__.py
+0
-0
demo/__init__.py
demo/__init__.py
+0
-0
demo/ctr-dnn_train.yaml
demo/ctr-dnn_train.yaml
+0
-0
demo/user_define_trainer.py
demo/user_define_trainer.py
+0
-0
doc/__init__.py
doc/__init__.py
+0
-0
models/__init__.py
models/__init__.py
+0
-0
models/ctr/__init__.py
models/ctr/__init__.py
+0
-0
models/ctr/criteo_reader.py
models/ctr/criteo_reader.py
+0
-0
models/ctr/deepfm/__init__.py
models/ctr/deepfm/__init__.py
+0
-0
models/ctr/dnn/__init__.py
models/ctr/dnn/__init__.py
+0
-0
models/ctr/dnn/data/test/sample_test.txt
models/ctr/dnn/data/test/sample_test.txt
+0
-0
models/ctr/dnn/data/train/sample_train.txt
models/ctr/dnn/data/train/sample_train.txt
+0
-0
models/ctr/dnn/hyper_parameters.yaml
models/ctr/dnn/hyper_parameters.yaml
+0
-0
models/ctr/dnn/model.py
models/ctr/dnn/model.py
+0
-0
models/multi_task/__init__.py
models/multi_task/__init__.py
+0
-0
models/other/__init__.py
models/other/__init__.py
+0
-0
models/recall/__init__.py
models/recall/__init__.py
+0
-0
models/recall/word2vec/hyper_parameters.yaml
models/recall/word2vec/hyper_parameters.yaml
+0
-0
models/recall/word2vec/model.py
models/recall/word2vec/model.py
+0
-0
models/recall/word2vec/reader.py
models/recall/word2vec/reader.py
+0
-0
models/recall/word2vec/sample_test.txt
models/recall/word2vec/sample_test.txt
+0
-0
models/recall/word2vec/sample_train.txt
models/recall/word2vec/sample_train.txt
+0
-0
models/tdm/__init__.py
models/tdm/__init__.py
+0
-0
setup.py
setup.py
+44
-16
tools/__init__.py
tools/__init__.py
+0
-0
未找到文件。
fleetrec/
dataset/__init__.py
→
dataset/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
demo/__init__.py
→
demo/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
demo/ctr-dnn_train.yaml
→
demo/ctr-dnn_train.yaml
浏览文件 @
be92338e
文件已移动
fleetrec/
demo/user_define_trainer.py
→
demo/user_define_trainer.py
浏览文件 @
be92338e
文件已移动
fleetrec/
doc/__init__.py
→
doc/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/__init__.py
→
models/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/ctr/__init__.py
→
models/ctr/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/ctr/criteo_reader.py
→
models/ctr/criteo_reader.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/ctr/deepfm/__init__.py
→
models/ctr/deepfm/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/ctr/dnn/__init__.py
→
models/ctr/dnn/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/ctr/dnn/data/test/sample_test.txt
→
models/ctr/dnn/data/test/sample_test.txt
浏览文件 @
be92338e
文件已移动
fleetrec/
models/ctr/dnn/data/train/sample_train.txt
→
models/ctr/dnn/data/train/sample_train.txt
浏览文件 @
be92338e
文件已移动
fleetrec/
models/ctr/dnn/hyper_parameters.yaml
→
models/ctr/dnn/hyper_parameters.yaml
浏览文件 @
be92338e
文件已移动
fleetrec/
models/ctr/dnn/model.py
→
models/ctr/dnn/model.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/multi_task/__init__.py
→
models/multi_task/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/other/__init__.py
→
models/other/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/recall/__init__.py
→
models/recall/__init__.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/recall/word2vec/hyper_parameters.yaml
→
models/recall/word2vec/hyper_parameters.yaml
浏览文件 @
be92338e
文件已移动
fleetrec/
models/recall/word2vec/model.py
→
models/recall/word2vec/model.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/recall/word2vec/reader.py
→
models/recall/word2vec/reader.py
浏览文件 @
be92338e
文件已移动
fleetrec/
models/recall/word2vec/sample_test.txt
→
models/recall/word2vec/sample_test.txt
浏览文件 @
be92338e
文件已移动
fleetrec/
models/recall/word2vec/sample_train.txt
→
models/recall/word2vec/sample_train.txt
浏览文件 @
be92338e
文件已移动
fleetrec/
models/tdm/__init__.py
→
models/tdm/__init__.py
浏览文件 @
be92338e
文件已移动
setup.py
浏览文件 @
be92338e
"""
setup for fleet-rec.
"""
import
os
import
sys
from
setuptools
import
setup
,
find_packages
import
tempfile
import
shutil
if
sys
.
version_info
.
major
==
2
:
requires
=
[
"paddlepaddle == 1.7.2"
,
"netron >=
5.1.1
"
,
"yaml"
"netron >=
0.0.0
"
,
"yaml
>= 5.1.1
"
]
else
:
requires
=
[
"paddlepaddle >= 0.0.0"
,
"netron >= 0.0.0"
,
"pyyaml"
"pyyaml
>= 5.1.1
"
]
about
=
{}
...
...
@@ -27,7 +30,26 @@ about["__url__"] = "https://github.com/seiriosPlus/FleetRec"
readme
=
"..."
setup
(
def
run_cmd
(
command
):
assert
command
is
not
None
and
isinstance
(
command
,
str
)
return
os
.
popen
(
command
).
read
().
strip
()
def
build
(
dirname
):
print
(
dirname
)
package_dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
run_cmd
(
"cp -r {}/* {}"
.
format
(
package_dir
,
dirname
))
run_cmd
(
"mv {} {}"
.
format
(
os
.
path
.
join
(
dirname
,
"dataset"
),
os
.
path
.
join
(
dirname
,
"fleetrec"
)))
run_cmd
(
"mv {} {}"
.
format
(
os
.
path
.
join
(
dirname
,
"demo"
),
os
.
path
.
join
(
dirname
,
"fleetrec"
)))
run_cmd
(
"mv {} {}"
.
format
(
os
.
path
.
join
(
dirname
,
"doc"
),
os
.
path
.
join
(
dirname
,
"fleetrec"
)))
run_cmd
(
"mv {} {}"
.
format
(
os
.
path
.
join
(
dirname
,
"models"
),
os
.
path
.
join
(
dirname
,
"fleetrec"
)))
run_cmd
(
"mv {} {}"
.
format
(
os
.
path
.
join
(
dirname
,
"tools"
),
os
.
path
.
join
(
dirname
,
"fleetrec"
)))
packages
=
find_packages
(
dirname
)
package_dir
=
{
''
:
dirname
}
setup
(
name
=
about
[
"__title__"
],
version
=
about
[
"__version__"
],
description
=
about
[
"__description__"
],
...
...
@@ -35,11 +57,17 @@ setup(
author
=
about
[
"__author__"
],
author_email
=
about
[
"__author_email__"
],
url
=
about
[
"__url__"
],
packages
=
find_packages
(),
packages
=
packages
,
package_dir
=
package_dir
,
python_requires
=
">=2.7"
,
install_requires
=
requires
,
zip_safe
=
False
)
)
dirname
=
tempfile
.
mkdtemp
()
build
(
dirname
)
shutil
.
rmtree
(
dirname
)
print
(
'''
\033
[32m
...
...
fleetrec/
tools/__init__.py
→
tools/__init__.py
浏览文件 @
be92338e
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录