Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
76501c82
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
76501c82
编写于
11月 20, 2017
作者:
L
Luo Tao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove ProtoData, update related files
上级
56ec40ad
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
2 addition
and
252 deletion
+2
-252
paddle/trainer/tests/compare_sparse_data
paddle/trainer/tests/compare_sparse_data
+0
-0
paddle/trainer/tests/data_bin_part
paddle/trainer/tests/data_bin_part
+0
-214
paddle/trainer/tests/test_config.conf
paddle/trainer/tests/test_config.conf
+1
-6
paddle/trainer/tests/train.list
paddle/trainer/tests/train.list
+0
-1
paddle/trainer/tests/train_sparse.list
paddle/trainer/tests/train_sparse.list
+0
-1
python/paddle/trainer/config_parser.py
python/paddle/trainer/config_parser.py
+1
-30
未找到文件。
paddle/trainer/tests/compare_sparse_data
已删除
100644 → 0
浏览文件 @
56ec40ad
文件已删除
paddle/trainer/tests/data_bin_part
已删除
100644 → 0
浏览文件 @
56ec40ad
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
paddle/trainer/tests/test_config.conf
浏览文件 @
76501c82
...
...
@@ -15,12 +15,7 @@
from
paddle
.
trainer_config_helpers
import
*
TrainData
(
ProtoData
(
files
=
"dummy_list"
,
constant_slots
= [
1
.
0
],
async_load_data
=
True
))
TestData
(
SimpleData
(
TrainData
(
SimpleData
(
files
=
"trainer/tests/sample_filelist.txt"
,
feat_dim
=
3
,
context_len
=
0
,
...
...
paddle/trainer/tests/train.list
已删除
100644 → 0
浏览文件 @
56ec40ad
trainer/tests/data_bin_part
paddle/trainer/tests/train_sparse.list
已删除
100644 → 0
浏览文件 @
56ec40ad
trainer/tests/compare_sparse_data
python/paddle/trainer/config_parser.py
浏览文件 @
76501c82
...
...
@@ -1116,35 +1116,6 @@ def PyData(files=None,
return
data_config
@
config_func
def
ProtoData
(
files
=
None
,
type
=
None
,
file_group_queue_capacity
=
None
,
load_file_count
=
None
,
constant_slots
=
None
,
load_thread_num
=
None
,
**
xargs
):
data_config
=
create_data_config_proto
(
**
xargs
)
if
type
is
None
:
data_config
.
type
=
'proto'
else
:
data_config
.
type
=
type
data_config
.
files
=
files
# When type="proto_group", one data provider contains at most
# load_file_count files, and there are at most
# (queue_capacity + load_thread_num + 1) data providers in memory
if
file_group_queue_capacity
is
not
None
:
data_config
.
file_group_conf
.
queue_capacity
=
file_group_queue_capacity
if
load_file_count
is
not
None
:
data_config
.
file_group_conf
.
load_file_count
=
load_file_count
if
load_thread_num
is
not
None
:
data_config
.
file_group_conf
.
load_thread_num
=
load_thread_num
if
constant_slots
:
data_config
.
constant_slots
.
extend
(
constant_slots
)
return
data_config
#real data for training is actually provided by "sub_data" data providers.
@
config_func
def
MultiData
(
sub_data
=
[]):
...
...
@@ -2714,7 +2685,7 @@ Usage:
max_sort_size = -1, inputs = ["output", "score"])
Input data: Samples of the same query should be loaded as a sequence,
by P
rotoDataProvider or P
yDataProvider etc.. User should provide
by PyDataProvider etc.. User should provide
scores for each sample. The score slot should be the 2nd
input of lambdaRank layer.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录