Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
c1072979
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看板
提交
c1072979
编写于
4月 22, 2020
作者:
L
luopengting
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add device_num
上级
41034372
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
0 deletion
+7
-0
mindinsight/lineagemgr/querier/query_model.py
mindinsight/lineagemgr/querier/query_model.py
+1
-0
tests/st/func/lineagemgr/api/test_model_api.py
tests/st/func/lineagemgr/api/test_model_api.py
+3
-0
tests/ut/lineagemgr/querier/test_querier.py
tests/ut/lineagemgr/querier/test_querier.py
+3
-0
未找到文件。
mindinsight/lineagemgr/querier/query_model.py
浏览文件 @
c1072979
...
...
@@ -35,6 +35,7 @@ FIELD_MAPPING = {
"learning_rate"
:
Field
(
'hyper_parameters'
,
'learning_rate'
),
"epoch"
:
Field
(
'hyper_parameters'
,
'epoch'
),
"batch_size"
:
Field
(
'hyper_parameters'
,
'batch_size'
),
"device_num"
:
Field
(
'hyper_parameters'
,
'device_num'
),
"loss"
:
Field
(
'algorithm'
,
'loss'
),
"model_size"
:
Field
(
'model'
,
'size'
),
"dataset_mark"
:
Field
(
'dataset_mark'
,
None
),
...
...
tests/st/func/lineagemgr/api/test_model_api.py
浏览文件 @
c1072979
...
...
@@ -76,6 +76,7 @@ LINEAGE_FILTRATION_EXCEPT_RUN = {
'learning_rate'
:
0.11999999731779099
,
'epoch'
:
10
,
'batch_size'
:
32
,
'device_num'
:
2
,
'loss'
:
0.029999999329447746
,
'model_size'
:
64
,
'metric'
:
{},
...
...
@@ -97,6 +98,7 @@ LINEAGE_FILTRATION_RUN1 = {
'learning_rate'
:
0.11999999731779099
,
'epoch'
:
14
,
'batch_size'
:
32
,
'device_num'
:
2
,
'loss'
:
None
,
'model_size'
:
64
,
'metric'
:
{
...
...
@@ -120,6 +122,7 @@ LINEAGE_FILTRATION_RUN2 = {
'learning_rate'
:
None
,
'epoch'
:
None
,
'batch_size'
:
None
,
'device_num'
:
None
,
'loss'
:
None
,
'model_size'
:
None
,
'metric'
:
{
...
...
tests/ut/lineagemgr/querier/test_querier.py
浏览文件 @
c1072979
...
...
@@ -93,6 +93,7 @@ def create_filtration_result(summary_dir, train_event_dict,
"learning_rate"
:
train_event_dict
[
'train_lineage'
][
'hyper_parameters'
][
'learning_rate'
],
"epoch"
:
train_event_dict
[
'train_lineage'
][
'hyper_parameters'
][
'epoch'
],
"batch_size"
:
train_event_dict
[
'train_lineage'
][
'hyper_parameters'
][
'batch_size'
],
"device_num"
:
train_event_dict
[
'train_lineage'
][
'hyper_parameters'
][
'device_num'
],
"loss"
:
train_event_dict
[
'train_lineage'
][
'algorithm'
][
'loss'
],
"model_size"
:
train_event_dict
[
'train_lineage'
][
'model'
][
'size'
],
"metric"
:
metric_dict
,
...
...
@@ -208,6 +209,7 @@ LINEAGE_FILTRATION_5 = {
event_data
.
EVENT_TRAIN_DICT_5
[
'train_lineage'
][
'hyper_parameters'
][
'learning_rate'
],
"epoch"
:
event_data
.
EVENT_TRAIN_DICT_5
[
'train_lineage'
][
'hyper_parameters'
][
'epoch'
],
"batch_size"
:
event_data
.
EVENT_TRAIN_DICT_5
[
'train_lineage'
][
'hyper_parameters'
][
'batch_size'
],
"device_num"
:
event_data
.
EVENT_TRAIN_DICT_5
[
'train_lineage'
][
'hyper_parameters'
][
'device_num'
],
"loss"
:
event_data
.
EVENT_TRAIN_DICT_5
[
'train_lineage'
][
'algorithm'
][
'loss'
],
"model_size"
:
event_data
.
EVENT_TRAIN_DICT_5
[
'train_lineage'
][
'model'
][
'size'
],
"metric"
:
{},
...
...
@@ -231,6 +233,7 @@ LINEAGE_FILTRATION_6 = {
"learning_rate"
:
None
,
"epoch"
:
None
,
"batch_size"
:
None
,
"device_num"
:
None
,
"loss"
:
None
,
"model_size"
:
None
,
"metric"
:
event_data
.
METRIC_5
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录