Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
41693da1
M
mindinsight
项目概览
MindSpore
/
mindinsight
通知
7
Star
3
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindinsight
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
41693da1
编写于
4月 17, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
4月 17, 2020
浏览文件
操作
浏览文件
下载
差异文件
!32 lineage info analyzer compatible with old version
Merge pull request !32 from kouzhenzhong/compatible_old_version_proto
上级
784ebeba
e0c1ef85
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
9 addition
and
9 deletion
+9
-9
mindinsight/datavisual/proto_files/mindinsight_lineage.proto
mindinsight/datavisual/proto_files/mindinsight_lineage.proto
+4
-4
mindinsight/datavisual/proto_files/mindinsight_lineage_pb2.py
...insight/datavisual/proto_files/mindinsight_lineage_pb2.py
+5
-5
未找到文件。
mindinsight/datavisual/proto_files/mindinsight_lineage.proto
浏览文件 @
41693da1
...
...
@@ -32,16 +32,16 @@ message LineageEvent {
string
version
=
3
;
// Train lineage
TrainLineage
train_lineage
=
4
;
TrainLineage
train_lineage
=
6
;
// Evaluation lineage
EvaluationLineage
evaluation_lineage
=
5
;
EvaluationLineage
evaluation_lineage
=
7
;
// Dataset graph
DatasetGraph
dataset_graph
=
6
;
DatasetGraph
dataset_graph
=
9
;
// User defined info
UserDefinedInfo
user_defined_info
=
7
;
UserDefinedInfo
user_defined_info
=
10
;
}
}
...
...
mindinsight/datavisual/proto_files/mindinsight_lineage_pb2.py
浏览文件 @
41693da1
...
...
@@ -19,7 +19,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name
=
'mindinsight_lineage.proto'
,
package
=
'mindinsight'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n\x19
mindinsight_lineage.proto
\x12\x0b
mindinsight
\"\xab\x02\n\x0c
LineageEvent
\x12\x11\n\t
wall_time
\x18\x01
\x02
(
\x01\x12\x0c\n\x04
step
\x18\x02
\x01
(
\x03\x12\x11\n\x07
version
\x18\x03
\x01
(
\t
H
\x00\x12\x32\n\r
train_lineage
\x18\x0
4
\x01
(
\x0b\x32\x19
.mindinsight.TrainLineageH
\x00\x12
<
\n\x12\x65
valuation_lineage
\x18\x05
\x01
(
\x0b\x32\x1e
.mindinsight.EvaluationLineageH
\x00\x12\x32\n\r
dataset_graph
\x18\x06
\x01
(
\x0b\x32\x19
.mindinsight.DatasetGraphH
\x00\x12\x39\n\x11
user_defined_info
\x18\x07
\x01
(
\x0b\x32\x1c
.mindinsight.UserDefinedInfoH
\x00\x42\x06\n\x04
what
\"\x9a\x04\n\x0f
UserDefinedInfo
\x12
/
\n\t
user_info
\x18\x01
\x03
(
\x0b\x32\x1c
.mindinsight.UserDefinedInfo
\x12
;
\n\x08
map_dict
\x18\x02
\x03
(
\x0b\x32
).mindinsight.UserDefinedInfo.MapDictEntry
\x12
=
\n\t
map_int32
\x18\x03
\x03
(
\x0b\x32
*.mindinsight.UserDefinedInfo.MapInt32Entry
\x12\x39\n\x07
map_str
\x18\x04
\x03
(
\x0b\x32
(.mindinsight.UserDefinedInfo.MapStrEntry
\x12
?
\n\n
map_double
\x18\x05
\x03
(
\x0b\x32
+.mindinsight.UserDefinedInfo.MapDoubleEntry
\x1a
L
\n\x0c
MapDictEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
+
\n\x05
value
\x18\x02
\x01
(
\x0b\x32\x1c
.mindinsight.UserDefinedInfo:
\x02\x38\x01\x1a
/
\n\r
MapInt32Entry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x05
:
\x02\x38\x01\x1a
-
\n\x0b
MapStrEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\x1a\x30\n\x0e
MapDoubleEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x01
:
\x02\x38\x01\"\xb6\x04\n\x0c
TrainLineage
\x12\x43\n\x10
hyper_parameters
\x18\x01
\x01
(
\x0b\x32
).mindinsight.TrainLineage.HyperParameters
\x12
=
\n\r
train_dataset
\x18\x02
\x01
(
\x0b\x32
&.mindinsight.TrainLineage.TrainDataset
\x12\x36\n\t
algorithm
\x18\x03
\x01
(
\x0b\x32
#.mindinsight.TrainLineage.Algorithm
\x12
.
\n\x05
model
\x18\x04
\x01
(
\x0b\x32\x1f
.mindinsight.TrainLineage.Model
\x1a\xa0\x01\n\x0f
HyperParameters
\x12\x11\n\t
optimizer
\x18\x01
\x01
(
\t\x12\x15\n\r
learning_rate
\x18\x02
\x01
(
\x02\x12\x15\n\r
loss_function
\x18\x03
\x01
(
\t\x12\r\n\x05\x65
poch
\x18\x04
\x01
(
\x05\x12\x15\n\r
parallel_mode
\x18\x05
\x01
(
\t\x12\x12\n\n
device_num
\x18\x06
\x01
(
\x05\x12\x12\n\n
batch_size
\x18\x08
\x01
(
\x05\x1a\x46\n\x0c
TrainDataset
\x12\x1a\n\x12
train_dataset_path
\x18\x01
\x01
(
\t\x12\x1a\n\x12
train_dataset_size
\x18\x02
\x01
(
\x05\x1a
*
\n\t
Algorithm
\x12\x0f\n\x07
network
\x18\x01
\x01
(
\t\x12\x0c\n\x04
loss
\x18\x02
\x01
(
\x02\x1a
#
\n\x05
Model
\x12\x0c\n\x04
path
\x18\x03
\x01
(
\t\x12\x0c\n\x04
size
\x18\x04
\x01
(
\x03\"\xaf\x01\n\x11\x45
valuationLineage
\x12\x0e\n\x06
metric
\x18\x02
\x01
(
\t\x12\x42\n\r
valid_dataset
\x18\x03
\x01
(
\x0b\x32
+.mindinsight.EvaluationLineage.ValidDataset
\x1a\x46\n\x0c
ValidDataset
\x12\x1a\n\x12
valid_dataset_path
\x18\x01
\x01
(
\t\x12\x1a\n\x12
valid_dataset_size
\x18\x02
\x01
(
\x05\"\xc4\x01\n\x0c\x44\x61
tasetGraph
\x12
+
\n\x08\x63
hildren
\x18\x01
\x03
(
\x0b\x32\x19
.mindinsight.DatasetGraph
\x12\x32\n\t
parameter
\x18\x02
\x01
(
\x0b\x32\x1f
.mindinsight.OperationParameter
\x12
*
\n\n
operations
\x18\x03
\x03
(
\x0b\x32\x16
.mindinsight.Operation
\x12\'\n\x07
sampler
\x18\x04
\x01
(
\x0b\x32\x16
.mindinsight.Operation
\"
c
\n\t
Operation
\x12\x37\n\x0e
operationParam
\x18\x01
\x01
(
\x0b\x32\x1f
.mindinsight.OperationParameter
\x12\x0c\n\x04
size
\x18\x02
\x03
(
\x05\x12\x0f\n\x07
weights
\x18\x03
\x03
(
\x02\"\xde\x04\n\x12
OperationParameter
\x12
;
\n\x06
mapStr
\x18\x01
\x03
(
\x0b\x32
+.mindinsight.OperationParameter.MapStrEntry
\x12\x43\n\n
mapStrList
\x18\x02
\x03
(
\x0b\x32
/.mindinsight.OperationParameter.MapStrListEntry
\x12
=
\n\x07
mapBool
\x18\x03
\x03
(
\x0b\x32
,.mindinsight.OperationParameter.MapBoolEntry
\x12
;
\n\x06
mapInt
\x18\x04
\x03
(
\x0b\x32
+.mindinsight.OperationParameter.MapIntEntry
\x12\x41\n\t
mapDouble
\x18\x05
\x03
(
\x0b\x32
..mindinsight.OperationParameter.MapDoubleEntry
\x1a
-
\n\x0b
MapStrEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\x1a
G
\n\x0f
MapStrListEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
#
\n\x05
value
\x18\x02
\x01
(
\x0b\x32\x14
.mindinsight.StrList:
\x02\x38\x01\x1a
.
\n\x0c
MapBoolEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x08
:
\x02\x38\x01\x1a
-
\n\x0b
MapIntEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x05
:
\x02\x38\x01\x1a\x30\n\x0e
MapDoubleEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x01
:
\x02\x38\x01\"\x1b\n\x07
StrList
\x12\x10\n\x08
strValue
\x18\x01
\x03
(
\t
B
\x03\xf8\x01\x01
'
)
serialized_pb
=
_b
(
'
\n\x19
mindinsight_lineage.proto
\x12\x0b
mindinsight
\"\xab\x02\n\x0c
LineageEvent
\x12\x11\n\t
wall_time
\x18\x01
\x02
(
\x01\x12\x0c\n\x04
step
\x18\x02
\x01
(
\x03\x12\x11\n\x07
version
\x18\x03
\x01
(
\t
H
\x00\x12\x32\n\r
train_lineage
\x18\x0
6
\x01
(
\x0b\x32\x19
.mindinsight.TrainLineageH
\x00\x12
<
\n\x12\x65
valuation_lineage
\x18\x07
\x01
(
\x0b\x32\x1e
.mindinsight.EvaluationLineageH
\x00\x12\x32\n\r
dataset_graph
\x18\t
\x01
(
\x0b\x32\x19
.mindinsight.DatasetGraphH
\x00\x12\x39\n\x11
user_defined_info
\x18\n
\x01
(
\x0b\x32\x1c
.mindinsight.UserDefinedInfoH
\x00\x42\x06\n\x04
what
\"\x9a\x04\n\x0f
UserDefinedInfo
\x12
/
\n\t
user_info
\x18\x01
\x03
(
\x0b\x32\x1c
.mindinsight.UserDefinedInfo
\x12
;
\n\x08
map_dict
\x18\x02
\x03
(
\x0b\x32
).mindinsight.UserDefinedInfo.MapDictEntry
\x12
=
\n\t
map_int32
\x18\x03
\x03
(
\x0b\x32
*.mindinsight.UserDefinedInfo.MapInt32Entry
\x12\x39\n\x07
map_str
\x18\x04
\x03
(
\x0b\x32
(.mindinsight.UserDefinedInfo.MapStrEntry
\x12
?
\n\n
map_double
\x18\x05
\x03
(
\x0b\x32
+.mindinsight.UserDefinedInfo.MapDoubleEntry
\x1a
L
\n\x0c
MapDictEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
+
\n\x05
value
\x18\x02
\x01
(
\x0b\x32\x1c
.mindinsight.UserDefinedInfo:
\x02\x38\x01\x1a
/
\n\r
MapInt32Entry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x05
:
\x02\x38\x01\x1a
-
\n\x0b
MapStrEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\x1a\x30\n\x0e
MapDoubleEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x01
:
\x02\x38\x01\"\xb6\x04\n\x0c
TrainLineage
\x12\x43\n\x10
hyper_parameters
\x18\x01
\x01
(
\x0b\x32
).mindinsight.TrainLineage.HyperParameters
\x12
=
\n\r
train_dataset
\x18\x02
\x01
(
\x0b\x32
&.mindinsight.TrainLineage.TrainDataset
\x12\x36\n\t
algorithm
\x18\x03
\x01
(
\x0b\x32
#.mindinsight.TrainLineage.Algorithm
\x12
.
\n\x05
model
\x18\x04
\x01
(
\x0b\x32\x1f
.mindinsight.TrainLineage.Model
\x1a\xa0\x01\n\x0f
HyperParameters
\x12\x11\n\t
optimizer
\x18\x01
\x01
(
\t\x12\x15\n\r
learning_rate
\x18\x02
\x01
(
\x02\x12\x15\n\r
loss_function
\x18\x03
\x01
(
\t\x12\r\n\x05\x65
poch
\x18\x04
\x01
(
\x05\x12\x15\n\r
parallel_mode
\x18\x05
\x01
(
\t\x12\x12\n\n
device_num
\x18\x06
\x01
(
\x05\x12\x12\n\n
batch_size
\x18\x08
\x01
(
\x05\x1a\x46\n\x0c
TrainDataset
\x12\x1a\n\x12
train_dataset_path
\x18\x01
\x01
(
\t\x12\x1a\n\x12
train_dataset_size
\x18\x02
\x01
(
\x05\x1a
*
\n\t
Algorithm
\x12\x0f\n\x07
network
\x18\x01
\x01
(
\t\x12\x0c\n\x04
loss
\x18\x02
\x01
(
\x02\x1a
#
\n\x05
Model
\x12\x0c\n\x04
path
\x18\x03
\x01
(
\t\x12\x0c\n\x04
size
\x18\x04
\x01
(
\x03\"\xaf\x01\n\x11\x45
valuationLineage
\x12\x0e\n\x06
metric
\x18\x02
\x01
(
\t\x12\x42\n\r
valid_dataset
\x18\x03
\x01
(
\x0b\x32
+.mindinsight.EvaluationLineage.ValidDataset
\x1a\x46\n\x0c
ValidDataset
\x12\x1a\n\x12
valid_dataset_path
\x18\x01
\x01
(
\t\x12\x1a\n\x12
valid_dataset_size
\x18\x02
\x01
(
\x05\"\xc4\x01\n\x0c\x44\x61
tasetGraph
\x12
+
\n\x08\x63
hildren
\x18\x01
\x03
(
\x0b\x32\x19
.mindinsight.DatasetGraph
\x12\x32\n\t
parameter
\x18\x02
\x01
(
\x0b\x32\x1f
.mindinsight.OperationParameter
\x12
*
\n\n
operations
\x18\x03
\x03
(
\x0b\x32\x16
.mindinsight.Operation
\x12\'\n\x07
sampler
\x18\x04
\x01
(
\x0b\x32\x16
.mindinsight.Operation
\"
c
\n\t
Operation
\x12\x37\n\x0e
operationParam
\x18\x01
\x01
(
\x0b\x32\x1f
.mindinsight.OperationParameter
\x12\x0c\n\x04
size
\x18\x02
\x03
(
\x05\x12\x0f\n\x07
weights
\x18\x03
\x03
(
\x02\"\xde\x04\n\x12
OperationParameter
\x12
;
\n\x06
mapStr
\x18\x01
\x03
(
\x0b\x32
+.mindinsight.OperationParameter.MapStrEntry
\x12\x43\n\n
mapStrList
\x18\x02
\x03
(
\x0b\x32
/.mindinsight.OperationParameter.MapStrListEntry
\x12
=
\n\x07
mapBool
\x18\x03
\x03
(
\x0b\x32
,.mindinsight.OperationParameter.MapBoolEntry
\x12
;
\n\x06
mapInt
\x18\x04
\x03
(
\x0b\x32
+.mindinsight.OperationParameter.MapIntEntry
\x12\x41\n\t
mapDouble
\x18\x05
\x03
(
\x0b\x32
..mindinsight.OperationParameter.MapDoubleEntry
\x1a
-
\n\x0b
MapStrEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\x1a
G
\n\x0f
MapStrListEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12
#
\n\x05
value
\x18\x02
\x01
(
\x0b\x32\x14
.mindinsight.StrList:
\x02\x38\x01\x1a
.
\n\x0c
MapBoolEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x08
:
\x02\x38\x01\x1a
-
\n\x0b
MapIntEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x05
:
\x02\x38\x01\x1a\x30\n\x0e
MapDoubleEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x01
:
\x02\x38\x01\"\x1b\n\x07
StrList
\x12\x10\n\x08
strValue
\x18\x01
\x03
(
\t
B
\x03\xf8\x01\x01
'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
...
...
@@ -56,28 +56,28 @@ _LINEAGEEVENT = _descriptor.Descriptor(
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'train_lineage'
,
full_name
=
'mindinsight.LineageEvent.train_lineage'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
number
=
6
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'evaluation_lineage'
,
full_name
=
'mindinsight.LineageEvent.evaluation_lineage'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
number
=
7
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'dataset_graph'
,
full_name
=
'mindinsight.LineageEvent.dataset_graph'
,
index
=
5
,
number
=
6
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
number
=
9
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'user_defined_info'
,
full_name
=
'mindinsight.LineageEvent.user_defined_info'
,
index
=
6
,
number
=
7
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
number
=
10
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录