Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
7e83c5a5
M
mindinsight
项目概览
MindSpore
/
mindinsight
通知
8
Star
4
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看板
提交
7e83c5a5
编写于
4月 17, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
4月 17, 2020
浏览文件
操作
浏览文件
下载
差异文件
!36 Fix user defined related comments
Merge pull request !36 from kouzhenzhong/comments_fix
上级
51e2cb3a
7d4b8bfd
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
7 deletion
+13
-7
mindinsight/lineagemgr/api/model.py
mindinsight/lineagemgr/api/model.py
+9
-7
mindinsight/lineagemgr/collection/model/model_lineage.py
mindinsight/lineagemgr/collection/model/model_lineage.py
+4
-0
未找到文件。
mindinsight/lineagemgr/api/model.py
浏览文件 @
7e83c5a5
...
...
@@ -41,9 +41,9 @@ def get_summary_lineage(summary_dir, keys=None):
summary_dir (str): The summary directory. It contains summary logs for
one training.
keys (list[str]): The filter keys of lineage information. The acceptable
keys are `metric`, `
hyper_parameters`, `algorithm`, `train_dataset
`,
`
model`, `valid_dataset` and `dataset_graph`. If it is `None`, all
information will be returned. Default: None.
keys are `metric`, `
user_defined`, `hyper_parameters`, `algorithm
`,
`
train_dataset`, `model`, `valid_dataset` and `dataset_graph`.
If it is `None`, all
information will be returned. Default: None.
Returns:
dict, the lineage information for one training.
...
...
@@ -112,10 +112,12 @@ def filter_summary_lineage(summary_base_dir, search_condition=None):
directories generated by training.
search_condition (dict): The search condition. When filtering and
sorting, in addition to the following supported fields, fields
prefixed with `metric/` are also supported. The fields prefixed with
`metric/` are related to the `metrics` parameter in the training
script. For example, if the key of `metrics` parameter is
`accuracy`, the field should be `metric/accuracy`. Default: None.
prefixed with `metric/` and `user_defined/` are also supported.
For example, the field should be `metric/accuracy` if the key
of `metrics` parameter is `accuracy`. The fields prefixed with
`metric/` and `user_defined/` are related to the `metrics`
parameter in the training script and user defined information in
TrainLineage/EvalLineage callback, respectively. Default: None.
- summary_dir (dict): The filter condition of summary directory.
...
...
mindinsight/lineagemgr/collection/model/model_lineage.py
浏览文件 @
7e83c5a5
...
...
@@ -56,6 +56,8 @@ class TrainLineage(Callback):
raise_exception (bool): Whether to raise exception when error occurs in
TrainLineage. If True, raise exception. If False, catch exception
and continue. Default: False.
user_defined_info (dict): User defined information. Only flatten dict with
str key and int/float/str value is supported. Default: None.
Raises:
MindInsightException: If validating parameter fails.
...
...
@@ -233,6 +235,8 @@ class EvalLineage(Callback):
raise_exception (bool): Whether to raise exception when error occurs in
EvalLineage. If True, raise exception. If False, catch exception
and continue. Default: False.
user_defined_info (dict): User defined information. Only flatten dict with
str key and int/float/str value is supported. Default: None.
Raises:
MindInsightException: If validating parameter fails.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录