Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
f2c8c510
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看板
提交
f2c8c510
编写于
5月 14, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
5月 14, 2020
浏览文件
操作
浏览文件
下载
差异文件
!110 UI update browser tab title
Merge pull request !110 from 潘慧/master_ph
上级
02ecf155
a9da9621
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
46 addition
and
22 deletion
+46
-22
mindinsight/ui/src/locales/zh-cn.json
mindinsight/ui/src/locales/zh-cn.json
+5
-5
mindinsight/ui/src/views/train-manage/data-map.vue
mindinsight/ui/src/views/train-manage/data-map.vue
+2
-0
mindinsight/ui/src/views/train-manage/data-traceback.vue
mindinsight/ui/src/views/train-manage/data-traceback.vue
+1
-0
mindinsight/ui/src/views/train-manage/graph.vue
mindinsight/ui/src/views/train-manage/graph.vue
+10
-13
mindinsight/ui/src/views/train-manage/histogram.vue
mindinsight/ui/src/views/train-manage/histogram.vue
+7
-0
mindinsight/ui/src/views/train-manage/image.vue
mindinsight/ui/src/views/train-manage/image.vue
+8
-1
mindinsight/ui/src/views/train-manage/model-traceback.vue
mindinsight/ui/src/views/train-manage/model-traceback.vue
+1
-0
mindinsight/ui/src/views/train-manage/scalar.vue
mindinsight/ui/src/views/train-manage/scalar.vue
+7
-0
mindinsight/ui/src/views/train-manage/summary-manage.vue
mindinsight/ui/src/views/train-manage/summary-manage.vue
+2
-2
mindinsight/ui/src/views/train-manage/training-dashboard.vue
mindinsight/ui/src/views/train-manage/training-dashboard.vue
+3
-1
未找到文件。
mindinsight/ui/src/locales/zh-cn.json
浏览文件 @
f2c8c510
...
...
@@ -21,10 +21,10 @@
"timeSecond"
:
"秒"
},
"summaryManage"
:
{
"summaryList"
:
"
Summary
列表"
,
"currentFolder"
:
"
当前文件夹
:"
,
"summaryList"
:
"
训练
列表"
,
"currentFolder"
:
"
训练日志根路径
:"
,
"sorting"
:
"序号"
,
"summaryPath"
:
"
summary
路径"
,
"summaryPath"
:
"
训练日志
路径"
,
"createTime"
:
"创建时间"
,
"updateTime"
:
"更新时间"
,
"operation"
:
"操作"
,
...
...
@@ -33,7 +33,7 @@
"dataTraceback"
:
"数据溯源"
},
"modelTraceback"
:
{
"summaryPath"
:
"
summary
路径"
,
"summaryPath"
:
"
训练日志
路径"
,
"trainSetPath"
:
"训练集路径"
,
"testSetPath"
:
"测试集路径"
,
"trainingSampleNum"
:
"训练样本数量"
,
...
...
@@ -68,7 +68,7 @@
"samplingData"
:
"数据抽样"
,
"imagesampleSwitch"
:
"切换标签"
,
"invalidId"
:
"无效的训练作业"
,
"summaryDirPath"
:
"
summary
路径:"
"summaryDirPath"
:
"
训练日志
路径:"
},
"scalar"
:
{
"titleText"
:
"标量"
,
...
...
mindinsight/ui/src/views/train-manage/data-map.vue
浏览文件 @
f2c8c510
...
...
@@ -168,9 +168,11 @@ export default {
if
(
!
this
.
$route
.
query
||
!
this
.
$route
.
query
.
train_id
)
{
this
.
trainJobID
=
''
;
this
.
$message
.
error
(
this
.
$t
(
'
trainingDashboard.invalidId
'
));
document
.
title
=
this
.
$t
(
'
trainingDashboard.dataMap
'
)
+
'
-MindInsight
'
;
return
;
}
this
.
trainJobID
=
this
.
$route
.
query
.
train_id
;
document
.
title
=
decodeURIComponent
(
this
.
trainJobID
)
+
'
-
'
+
this
.
$t
(
'
trainingDashboard.dataMap
'
)
+
'
-MindInsight
'
;
this
.
$nextTick
(()
=>
{
this
.
queryGraphData
();
});
...
...
mindinsight/ui/src/views/train-manage/data-traceback.vue
浏览文件 @
f2c8c510
...
...
@@ -332,6 +332,7 @@ export default {
},
computed
:
{},
mounted
()
{
document
.
title
=
this
.
$t
(
'
summaryManage.dataTraceback
'
)
+
'
-MindInsight
'
;
this
.
$nextTick
(()
=>
{
this
.
init
();
});
...
...
mindinsight/ui/src/views/train-manage/graph.vue
浏览文件 @
f2c8c510
...
...
@@ -389,9 +389,15 @@ export default {
if
(
!
this
.
$route
.
query
||
!
this
.
$route
.
query
.
train_id
)
{
this
.
trainJobID
=
''
;
this
.
$message
.
error
(
this
.
$t
(
'
trainingDashboard.invalidId
'
));
document
.
title
=
this
.
$t
(
'
graph.titleText
'
)
+
'
-MindInsight
'
;
return
;
}
this
.
trainJobID
=
this
.
$route
.
query
.
train_id
;
document
.
title
=
decodeURIComponent
(
this
.
trainJobID
)
+
'
-
'
+
this
.
$t
(
'
graph.titleText
'
)
+
'
-MindInsight
'
;
this
.
getDatavisualPlugins
();
window
.
onresize
=
()
=>
{
const
graphDom
=
document
.
querySelector
(
'
#graph #graph0
'
);
...
...
@@ -927,7 +933,7 @@ export default {
*/
packageGraphData
()
{
const
initSetting
=
'
node[style="filled";fontsize="10px"];edge[fontsize="
6
px";];
'
;
'
node[style="filled";fontsize="10px"];edge[fontsize="
4
px";];
'
;
return
`digraph {
${
initSetting
}${
this
.
packageNodes
()}${
this
.
packageEdges
()}
}`
;
},
/**
...
...
@@ -1477,7 +1483,7 @@ export default {
const
nodeStr
=
this
.
packageNodes
(
name
);
const
edgeStr
=
this
.
packageEdges
(
name
);
const
initSetting
=
`node[style="filled";fontsize="10px";];`
+
`edge[fontsize="
6
px";];`
;
`node[style="filled";fontsize="10px";];`
+
`edge[fontsize="
4
px";];`
;
const
dotStr
=
`digraph {
${
initSetting
}
label="
${
name
.
split
(
'
/
'
).
pop
()}
";`
+
`
${
nodeStr
}${
edgeStr
}
}`
;
...
...
@@ -1537,10 +1543,7 @@ export default {
''
,
)}
`
,
)
.
attr
(
'
class
'
,
`edge
${
edge
.
edge_type
===
'
aggregation
'
?
'
hide
'
:
''
}
`
,
);
.
attr
(
'
class
'
,
'
edge
'
);
g
.
append
(
'
title
'
).
text
(
text
);
// Because the edges need to be highlighted, marker requires one side of each side.
const
marker
=
g
.
append
(
`marker`
);
...
...
@@ -1571,7 +1574,7 @@ export default {
g
.
append
(
'
text
'
)
.
attr
(
'
text-anchor
'
,
'
middle
'
)
.
attr
(
'
font-family
'
,
'
Times,serif
'
)
.
attr
(
'
font-size
'
,
'
6
px
'
)
.
attr
(
'
font-size
'
,
'
4
px
'
)
.
attr
(
'
fill
'
,
'
#000000
'
)
.
attr
(
'
x
'
,
(
points
[
0
].
x
+
points
[
1
].
x
)
/
2
)
.
attr
(
'
y
'
,
(
points
[
0
].
y
+
points
[
1
].
y
)
/
2
)
...
...
@@ -3096,12 +3099,6 @@ export default {
fill
:
#c1f5d5
;
stroke-dasharray
:
1
.5
,
1
.5
;
}
.hide
{
visibility
:
hidden
;
}
.show
{
visibility
:
visible
;
}
.edge-point
ellipse
{
stroke
:
#a7a7a7
;
fill
:
#a7a7a7
;
...
...
mindinsight/ui/src/views/train-manage/histogram.vue
浏览文件 @
f2c8c510
...
...
@@ -254,6 +254,13 @@ export default {
* Initialize
*/
init
()
{
if
(
!
this
.
$route
.
query
||
!
this
.
$route
.
query
.
train_id
)
{
this
.
$message
.
error
(
this
.
$t
(
'
trainingDashboard.invalidId
'
));
document
.
title
=
this
.
$t
(
'
histogram.titleText
'
)
+
'
-MindInsight
'
;
return
;
}
document
.
title
=
decodeURIComponent
(
this
.
$route
.
query
.
train_id
)
+
'
-
'
+
this
.
$t
(
'
histogram.titleText
'
)
+
'
-MindInsight
'
;
this
.
getOriginData
();
if
(
this
.
isTimeReload
)
{
this
.
autoUpdateSamples
();
...
...
mindinsight/ui/src/views/train-manage/image.vue
浏览文件 @
f2c8c510
...
...
@@ -134,7 +134,7 @@ export default {
autoUpdateTimer
:
null
,
// Automatic refresh timer
brightness
:
50
,
// Brightness
contrast
:
50
,
// Contrast
trainingJobId
:
this
.
$route
.
query
.
id
,
// ID of the current training job
trainingJobId
:
this
.
$route
.
query
.
train_
id
,
// ID of the current training job
multiSelectedTagNames
:
{},
// Dictionary for storing the name of the selected tags
curFilterSamples
:
[],
// List of images that meet the current filter criteria
tagOperateList
:
[],
// Tag list
...
...
@@ -221,6 +221,13 @@ export default {
}
},
mounted
()
{
if
(
!
this
.
$route
.
query
||
!
this
.
$route
.
query
.
train_id
)
{
this
.
$message
.
error
(
this
.
$t
(
'
trainingDashboard.invalidId
'
));
document
.
title
=
this
.
$t
(
'
images.titleText
'
)
+
'
-MindInsight
'
;
return
;
}
document
.
title
=
decodeURIComponent
(
this
.
$route
.
query
.
train_id
)
+
'
-
'
+
this
.
$t
(
'
images.titleText
'
)
+
'
-MindInsight
'
;
this
.
getTagList
();
// Automatic refresh
if
(
this
.
isTimeReload
)
{
...
...
mindinsight/ui/src/views/train-manage/model-traceback.vue
浏览文件 @
f2c8c510
...
...
@@ -179,6 +179,7 @@ export default {
},
computed
:
{},
mounted
()
{
document
.
title
=
this
.
$t
(
'
summaryManage.modelTraceback
'
)
+
'
-MindInsight
'
;
this
.
$store
.
commit
(
'
setSelectedBarList
'
,
[]);
this
.
getStoreList
();
this
.
pagination
.
pageChange
=
(
page
)
=>
{
...
...
mindinsight/ui/src/views/train-manage/scalar.vue
浏览文件 @
f2c8c510
...
...
@@ -250,6 +250,13 @@ export default {
}
},
mounted
()
{
if
(
!
this
.
$route
.
query
||
!
this
.
$route
.
query
.
train_id
)
{
this
.
$message
.
error
(
this
.
$t
(
'
trainingDashboard.invalidId
'
));
document
.
title
=
this
.
$t
(
'
scalar.titleText
'
)
+
'
-MindInsight
'
;
return
;
}
document
.
title
=
decodeURIComponent
(
this
.
$route
.
query
.
train_id
)
+
'
-
'
+
this
.
$t
(
'
scalar.titleText
'
)
+
'
-MindInsight
'
;
// Adding a Listener
window
.
addEventListener
(
'
resize
'
,
this
.
resizeCallback
,
false
);
...
...
mindinsight/ui/src/views/train-manage/summary-manage.vue
浏览文件 @
f2c8c510
...
...
@@ -58,8 +58,7 @@ limitations under the License.
<!--operate -->
<el-table-column
prop=
"operate"
:label=
"$t('summaryManage.operation')"
show-overflow-tooltip
width=
"150"
>
width=
"170"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
class=
"cursor-type"
...
...
@@ -106,6 +105,7 @@ export default {
destroyed
()
{},
activated
()
{},
mounted
()
{
document
.
title
=
this
.
$t
(
'
summaryManage.summaryList
'
)
+
'
-MindInsight
'
;
this
.
$nextTick
(()
=>
{
this
.
init
();
});
...
...
mindinsight/ui/src/views/train-manage/training-dashboard.vue
浏览文件 @
f2c8c510
...
...
@@ -292,7 +292,9 @@ export default {
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
id
)
{
this
.
trainingJobId
=
this
.
$route
.
query
.
id
;
this
.
summaryPath
=
decodeURIComponent
(
this
.
trainingJobId
);
document
.
title
=
this
.
summaryPath
+
'
-
'
+
this
.
$t
(
'
trainingDashboard.trainingDashboardTitle
'
)
+
'
-MindInsight
'
;
}
else
{
document
.
title
=
this
.
$t
(
'
trainingDashboard.trainingDashboardTitle
'
)
+
'
-MindInsight
'
;
this
.
trainingJobId
=
''
;
this
.
$message
.
error
(
this
.
$t
(
'
trainingDashboard.invalidId
'
));
}
...
...
@@ -1186,7 +1188,7 @@ export default {
this
.
$router
.
push
({
path
:
'
/train-manage/image
'
,
query
:
{
id
:
this
.
trainingJobId
,
train_
id
:
this
.
trainingJobId
,
},
});
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录