Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MindSpore
mindinsight
提交
ca9b9830
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看板
提交
ca9b9830
编写于
6月 24, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
6月 24, 2020
浏览文件
操作
浏览文件
下载
差异文件
!360 Modify the problem of the operator name in the pie chart not completely displayed
Merge pull request !360 from 黄伟锋/r0.5
上级
d5b5df1f
b68d5f83
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
27 addition
and
19 deletion
+27
-19
mindinsight/ui/src/locales/zh-cn.json
mindinsight/ui/src/locales/zh-cn.json
+1
-1
mindinsight/ui/src/views/train-manage/data-process.vue
mindinsight/ui/src/views/train-manage/data-process.vue
+15
-9
mindinsight/ui/src/views/train-manage/operator.vue
mindinsight/ui/src/views/train-manage/operator.vue
+6
-5
mindinsight/ui/src/views/train-manage/profiling-dashboard.vue
...insight/ui/src/views/train-manage/profiling-dashboard.vue
+3
-2
mindinsight/ui/src/views/train-manage/scalar.vue
mindinsight/ui/src/views/train-manage/scalar.vue
+2
-2
未找到文件。
mindinsight/ui/src/locales/zh-cn.json
浏览文件 @
ca9b9830
...
...
@@ -252,7 +252,7 @@
"desc"
],
"url"
:
[
"https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/
visualization_tutorials
.html"
"https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/
performance_profiling
.html"
]
},
"step_trace-proposer_type_label"
:
{
...
...
mindinsight/ui/src/views/train-manage/data-process.vue
浏览文件 @
ca9b9830
...
...
@@ -70,14 +70,15 @@ limitations under the License.
<div
class=
"cell-container device_queue_op"
@
click=
"highlight('device_queue_op')"
clickKey=
"device_queue_op"
:style=
"
{cursor: processSummary.count !== processSummary.maxCount ? 'default' : 'pointer'}"
v-show="!processSummary.noData">
<div
class=
"title"
>
{{
$t
(
'
profiling.deviceQueueOp
Tip
'
)
}}
{{
$t
(
'
profiling.deviceQueueOp
'
)
}}
</div>
</div>
<div
class=
"queue-container"
v-show=
"processSummary.count ===
6
&& !processSummary.noData"
>
v-show=
"processSummary.count ===
processSummary.maxCount
&& !processSummary.noData"
>
<div
class=
"img"
>
<div
class=
"edge"
>
<img
src=
"@/assets/images/data-flow.png"
...
...
@@ -116,7 +117,7 @@ limitations under the License.
<div
class=
"cell-container get-next"
@
click=
"highlight('get_next')"
clickKey=
"get_next"
v-if=
"processSummary.count ===
6
&& !processSummary.noData"
>
v-if=
"processSummary.count ===
processSummary.maxCount
&& !processSummary.noData"
>
<div
class=
"title"
>
{{
$t
(
'
profiling.getData
'
)
}}
</div>
...
...
@@ -126,7 +127,7 @@ limitations under the License.
v-if=
"!(connectQueueChart.noData && dataQueueChart.noData && deviceQueueOpChart
&& getNextChart.getNextChart)"
>
<div
class=
"queue-step-wrap"
v-if=
"processSummary.count ===
6
"
>
v-if=
"processSummary.count ===
processSummary.maxCount
"
>
<div
class=
"title"
>
{{
$t
(
'
profiling.queueStep
'
)
}}
</div>
<div
class=
"chart-content"
>
<div
class=
"chart-wrap"
...
...
@@ -164,7 +165,7 @@ limitations under the License.
</div>
</div>
<div
class=
"queue-step-wrap"
v-if=
"processSummary.count ===
6
"
>
v-if=
"processSummary.count ===
processSummary.maxCount
"
>
<div
class=
"title"
>
{{$t('profiling.operatorTimeConAnalysis')}}
</div>
<div
class=
"chart-content second"
>
<div
class=
"chart-wrap analysis"
...
...
@@ -202,7 +203,7 @@ limitations under the License.
</div>
</div>
<div
class=
"queue-step-wrap single"
v-if=
"processSummary.count !==
6
"
>
v-if=
"processSummary.count !==
processSummary.maxCount
"
>
<div
class=
"title"
>
{{$t('profiling.queueStep')}}
</div>
<div
class=
"chart-content"
>
<div
class=
"chart-wrap"
...
...
@@ -344,6 +345,7 @@ export default {
processSummary
:
{
noData
:
true
,
count
:
6
,
maxCount
:
6
,
device
:
{
empty
:
0
,
full
:
0
,
...
...
@@ -530,7 +532,6 @@ export default {
xAxis
:
{
name
:
'
step
'
,
data
:
[],
max
:
size
,
},
yAxis
:
{},
series
:
[],
...
...
@@ -605,7 +606,7 @@ export default {
this
.
dealProcess
(
data
);
this
.
$nextTick
(()
=>
{
if
(
this
.
processSummary
.
count
<
6
)
{
if
(
this
.
processSummary
.
count
<
this
.
processSummary
.
maxCount
)
{
this
.
queryQueueInfo
(
this
.
connectQueueChart
);
}
else
{
this
.
queryQueueInfo
(
this
.
connectQueueChart
);
...
...
@@ -820,7 +821,6 @@ export default {
data
.
sample_interval
}
ms`
,
data
:
dataY
.
map
((
val
,
index
)
=>
index
+
1
),
max
:
dataY
.
length
,
},
yAxis
:
{
name
:
''
,
...
...
@@ -855,6 +855,12 @@ export default {
});
},
highlight
(
key
)
{
if
(
key
===
'
device_queue_op
'
&&
this
.
processSummary
.
count
!==
this
.
processSummary
.
maxCount
)
{
return
;
}
const
domList
=
document
.
querySelectorAll
(
'
.md-top *[clickKey]
'
);
Array
.
prototype
.
forEach
.
call
(
domList
,
(
dom
)
=>
{
if
(
dom
.
getAttribute
(
'
clickKey
'
)
===
key
)
{
...
...
mindinsight/ui/src/views/train-manage/operator.vue
浏览文件 @
ca9b9830
...
...
@@ -818,7 +818,7 @@ export default {
itemHeight
:
18
,
padding
:
[
0
,
50
,
0
,
0
],
top
:
'
5%
'
,
left
:
'
37
%
'
,
left
:
'
45
%
'
,
textStyle
:
{
padding
:
[
15
,
0
,
0
,
0
],
rich
:
{
...
...
@@ -850,9 +850,9 @@ export default {
option
.
series
=
[
{
type
:
'
pie
'
,
center
:
[
'
2
0%
'
,
'
60
%
'
],
center
:
[
'
2
5%
'
,
'
65
%
'
],
data
:
chart
.
data
,
radius
:
'
6
0%
'
,
radius
:
'
5
0%
'
,
lable
:
{
position
:
'
outer
'
,
alignTo
:
'
none
'
,
...
...
@@ -1095,10 +1095,10 @@ export default {
margin-bottom
:
10px
;
}
.cl-profiler-top
{
height
:
36
%
;
height
:
45
%
;
}
.cl-profiler-bottom
{
height
:
64
%
;
height
:
55
%
;
padding-top
:
10px
;
}
.cpu-tab
{
...
...
@@ -1127,6 +1127,7 @@ export default {
height
:
100%
;
min-width
:
1300px
;
min-height
:
232px
;
overflow
:
hidden
;
}
}
.chart-radio-group
{
...
...
mindinsight/ui/src/views/train-manage/profiling-dashboard.vue
浏览文件 @
ca9b9830
...
...
@@ -191,7 +191,7 @@ limitations under the License.
</div>
<div
class=
"queue-container"
v-if=
"processSummary.count ===
6
"
>
v-if=
"processSummary.count ===
processSummary.maxCount
"
>
<div
class=
"img"
>
<div
class=
"edge"
>
<img
src=
"@/assets/images/data-flow.png"
...
...
@@ -229,7 +229,7 @@ limitations under the License.
<div
class=
"cell-container get-next"
clickKey=
"get_next"
v-if=
"processSummary.count ===
6
"
>
v-if=
"processSummary.count ===
processSummary.maxCount
"
>
<div
class=
"title"
>
{{
$t
(
'
profiling.getData
'
)
}}
</div>
...
...
@@ -390,6 +390,7 @@ export default {
processSummary
:
{
noData
:
true
,
count
:
6
,
maxCount
:
6
,
device
:
{
empty
:
0
,
full
:
0
,
...
...
mindinsight/ui/src/views/train-manage/scalar.vue
浏览文件 @
ca9b9830
...
...
@@ -1674,7 +1674,7 @@ export default {
tempOption
.
visualMap
[
'
pieces
'
]
&&
tempOption
.
visualMap
[
'
pieces
'
].
length
>
0
)
{
tempOption
.
visualMap
=
false
;
tempOption
.
visualMap
=
null
;
tempOption
.
series
[
0
].
markLine
=
null
;
sampleObject
.
charObj
.
setOption
(
tempOption
,
true
);
...
...
@@ -1810,7 +1810,7 @@ export default {
tempCharOption
.
visualMap
[
'
pieces
'
]
&&
tempCharOption
.
visualMap
[
'
pieces
'
].
length
>
0
)
{
tempCharOption
.
visualMap
=
false
;
tempCharOption
.
visualMap
=
null
;
tempCharOption
.
series
[
0
].
markLine
=
null
;
tempCharOption
.
series
[
0
].
lineStyle
.
color
=
sampleItem
.
colors
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录