Browse Source

!1105 UI modify copyright and add tooltip of watchpoint parameter

From: @huang_wei_feng4
Reviewed-by: @weiyanxi,@yelihua,@ouwenchang
Signed-off-by: @ouwenchang
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
25269e8d0e
20 changed files with 89 additions and 28 deletions
  1. +1
    -1
      mindinsight/ui/src/app.vue
  2. +1
    -1
      mindinsight/ui/src/common/common-property.js
  3. +1
    -1
      mindinsight/ui/src/components/autocomplete.vue
  4. +1
    -1
      mindinsight/ui/src/components/header.vue
  5. +15
    -0
      mindinsight/ui/src/components/search-select.vue
  6. +15
    -0
      mindinsight/ui/src/components/tree-node.vue
  7. +15
    -0
      mindinsight/ui/src/components/tree.vue
  8. +1
    -1
      mindinsight/ui/src/i18n.js
  9. +3
    -2
      mindinsight/ui/src/locales/zh-cn.json
  10. +1
    -1
      mindinsight/ui/src/main.js
  11. +1
    -1
      mindinsight/ui/src/router.js
  12. +1
    -1
      mindinsight/ui/src/services/fetcher.js
  13. +1
    -1
      mindinsight/ui/src/services/request-service.js
  14. +1
    -1
      mindinsight/ui/src/store.js
  15. +26
    -11
      mindinsight/ui/src/views/debugger/debugger.vue
  16. +1
    -1
      mindinsight/ui/src/views/train-manage/graph.vue
  17. +1
    -1
      mindinsight/ui/src/views/train-manage/image.vue
  18. +1
    -1
      mindinsight/ui/src/views/train-manage/scalar-compare.vue
  19. +1
    -1
      mindinsight/ui/src/views/train-manage/scalar.vue
  20. +1
    -1
      mindinsight/ui/src/views/train-manage/training-dashboard.vue

+ 1
- 1
mindinsight/ui/src/app.vue View File

@@ -1,5 +1,5 @@
<!--
Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/common/common-property.js View File

@@ -1,5 +1,5 @@
/**
* Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
* Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/components/autocomplete.vue View File

@@ -1,5 +1,5 @@
<!--
Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/components/header.vue View File

@@ -1,5 +1,5 @@
<!--
Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.


+ 15
- 0
mindinsight/ui/src/components/search-select.vue View File

@@ -1,3 +1,18 @@
<!--
Copyright 2020-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<template>
<div class="cl-search-select"
ref="selector"


+ 15
- 0
mindinsight/ui/src/components/tree-node.vue View File

@@ -1,3 +1,18 @@
<!--
Copyright 2020-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<template>
<div class="el-tree-node"
@click.stop="handleClick"


+ 15
- 0
mindinsight/ui/src/components/tree.vue View File

@@ -1,3 +1,18 @@
<!--
Copyright 2020-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<template>
<div class="el-tree"
:class="{


+ 1
- 1
mindinsight/ui/src/i18n.js View File

@@ -1,5 +1,5 @@
/**
* Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
* Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.


+ 3
- 2
mindinsight/ui/src/locales/zh-cn.json View File

@@ -755,7 +755,8 @@
"nonnegative": "此参数值不能小于0",
"allPositive": "此参数值必须大于0",
"watchOverflow": "训练开始前需开启异步全量溢出监测功能"
}
},
"paramValueTip": "设置值为:{value}"
},
"explain": {
"explain": "模型解释",
@@ -819,7 +820,7 @@
"scoreSystemtooltipfour": " -Faithfulness: 该维度评估解释结果对模型的忠实度,即显著图是否正确反映模型分类依据。给定显著图,按照一定规则(如从亮到暗)对原始图像中的相应位置进行修改,将修改后的图像传给模型依次进行推理,如果显著图越亮的区域对选定标签影响越大,则解释结果忠实度越高;反之,解释结果可能无法反映模型的推理依据。当前有三种主流方案度量解释的faithfulness:Naive Faithfulness,Insertion AUC,Deletion AUC。",
"scoreSystemtooltipfive": " -Localization: 该维度借助数据集的bounding box对显著图高亮区域的定位准确性进行评估,选定一组目标和相关标签,如果解释方法准确高亮了图像中和选定标签相关的区域,高亮区域和选定目标的bounding box应当有较大重合度。Localization通过评估高亮区域和bounding box的重合度,对解释结果的定位能力进行评估。",
"scoreSystemtooltipsix": "-ClassSensitivity:该维度通过比较置信度最大和最小标签的显著图相关性,对显著图的标签敏感度进行评估,模型对不同标签的推理依据应该有区别,合理的解释方法应该为不同的标签输出不同的显著图。ClassSensitivity通过计算最大和最小置信度标签的显著图的相关系数,评估解释结果的标签敏感度。",
"scoreSystemtooltipseven":"-Robustness: 该维度对解释方法的鲁棒性进行评估,即在原始图像中加入少量噪声时,显著图的变化程度。当原始图像加入少量噪声但不影响推理结果的情况下,如果显著图几乎没有变化,则解释方法的鲁棒性越强,解释结果越稳定。",
"scoreSystemtooltipseven": "-Robustness: 该维度对解释方法的鲁棒性进行评估,即在原始图像中加入少量噪声时,显著图的变化程度。当原始图像加入少量噪声但不影响推理结果的情况下,如果显著图几乎没有变化,则解释方法的鲁棒性越强,解释结果越稳定。",
"errorTipTitle": "异常场景:",
"errorTipText": "出现NaN时,请查看运行日志。"
},


+ 1
- 1
mindinsight/ui/src/main.js View File

@@ -1,5 +1,5 @@
/**
* Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
* Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/router.js View File

@@ -1,5 +1,5 @@
/**
* Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
* Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/services/fetcher.js View File

@@ -1,5 +1,5 @@
/**
* Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
* Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/services/request-service.js View File

@@ -1,5 +1,5 @@
/**
* Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
* Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/store.js View File

@@ -1,5 +1,5 @@
/**
* Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
* Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.


+ 26
- 11
mindinsight/ui/src/views/debugger/debugger.vue View File

@@ -543,12 +543,19 @@ limitations under the License.
</el-option>
</el-select>

<el-input v-model="item.param.value"
:placeholder="$t('scalar.placeHolderNumber')"
v-if="item.param.options.length &&
<el-tooltip class="item"
effect="light"
:content="$t('debugger.paramValueTip', {value: (/^(\-|\+)?\d+(\.\d+)?$/).test(item.param.value) ?
Number(item.param.value) : ''})"
placement="top">
<el-input v-model="item.param.value"
:placeholder="$t('scalar.placeHolderNumber')"
v-show="item.param.options.length &&
item.param.type !== 'BOOL'"
@input="validateParam(item)"
class="param-value"></el-input>
@input="validateParam(item)"
class="param-value"></el-input>
</el-tooltip>

<el-select v-model="item.param.value"
v-if="item.param.options.length &&
item.param.type === 'BOOL'"
@@ -572,11 +579,19 @@ limitations under the License.
:key="index">
{{transCondition(i.name)}}

<el-input v-model="item.compositeParams.selections[index].value"
:placeholder="$t('scalar.placeHolderNumber')"
v-if="i.type !== 'BOOL'"
@input="validateParam(item)"
class="param-value"></el-input>
<el-tooltip class="item"
effect="light"
:content="$t('debugger.paramValueTip', {value:
(/^(\-|\+)?\d+(\.\d+)?$/).test(item.compositeParams.selections[index].value) ?
Number(item.compositeParams.selections[index].value) : ''})"
placement="top">
<el-input v-model="item.compositeParams.selections[index].value"
:placeholder="$t('scalar.placeHolderNumber')"
v-show="i.type !== 'BOOL'"
@input="validateParam(item)"
class="param-value"></el-input>
</el-tooltip>

<el-select v-model="i.value"
v-if="i.type === 'BOOL'"
class="param-value">
@@ -1077,7 +1092,7 @@ export default {
val.checked = false;
}
});
this.tableData = [];
this.firstFloorNodes = [];
this.allGraphData = {};
d3.select('#graph svg').remove();


+ 1
- 1
mindinsight/ui/src/views/train-manage/graph.vue View File

@@ -1,5 +1,5 @@
<!--
Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/views/train-manage/image.vue View File

@@ -1,5 +1,5 @@
<!--
Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/views/train-manage/scalar-compare.vue View File

@@ -1,5 +1,5 @@
<!--
Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/views/train-manage/scalar.vue View File

@@ -1,5 +1,5 @@
<!--
Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.


+ 1
- 1
mindinsight/ui/src/views/train-manage/training-dashboard.vue View File

@@ -1,5 +1,5 @@
<!--
Copyright 2019 Huawei Technologies Co., Ltd.All Rights Reserved.
Copyright 2019-2021 Huawei Technologies Co., Ltd.All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.


Loading…
Cancel
Save