diff --git a/mindinsight/ui/src/assets/images/batch-img.svg b/mindinsight/ui/src/assets/images/batch-img.svg new file mode 100644 index 0000000000000000000000000000000000000000..2ca36d6c98a8d71e9fa0c580e09aa93ef4ce7602 --- /dev/null +++ b/mindinsight/ui/src/assets/images/batch-img.svg @@ -0,0 +1,9 @@ + + + + red + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/constant-node.png b/mindinsight/ui/src/assets/images/constant-node.png deleted file mode 100644 index 2162211f72a5aa4be061472ec03c7c2d95e68043..0000000000000000000000000000000000000000 Binary files a/mindinsight/ui/src/assets/images/constant-node.png and /dev/null differ diff --git a/mindinsight/ui/src/assets/images/constant-node.svg b/mindinsight/ui/src/assets/images/constant-node.svg new file mode 100644 index 0000000000000000000000000000000000000000..f4bb0ca7ca0c9ebea8495b743687a364a98e71f6 --- /dev/null +++ b/mindinsight/ui/src/assets/images/constant-node.svg @@ -0,0 +1,9 @@ + + + + green + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/creat-dataset.png b/mindinsight/ui/src/assets/images/creat-dataset.png deleted file mode 100644 index 5f848a3ec1cbdbb4c7e04ba4f0fe4fb35074f1a2..0000000000000000000000000000000000000000 Binary files a/mindinsight/ui/src/assets/images/creat-dataset.png and /dev/null differ diff --git a/mindinsight/ui/src/assets/images/creat-dataset.svg b/mindinsight/ui/src/assets/images/creat-dataset.svg new file mode 100644 index 0000000000000000000000000000000000000000..98f8f0c315cf85e11f2e1b3e3156c59bad89970a --- /dev/null +++ b/mindinsight/ui/src/assets/images/creat-dataset.svg @@ -0,0 +1,9 @@ + + + + blue + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/data-process-guid.svg b/mindinsight/ui/src/assets/images/data-process-guid.svg new file mode 100644 index 0000000000000000000000000000000000000000..852f0d73bef41abf85fc819ded032ffbbfb7b47f --- /dev/null +++ b/mindinsight/ui/src/assets/images/data-process-guid.svg @@ -0,0 +1,61 @@ + + + + 数据图 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/graph-guid.svg b/mindinsight/ui/src/assets/images/graph-guid.svg new file mode 100644 index 0000000000000000000000000000000000000000..27a85b3e28e3d29d6cf09fbb6b632e75418ea00e --- /dev/null +++ b/mindinsight/ui/src/assets/images/graph-guid.svg @@ -0,0 +1,77 @@ + + + + 计算图 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/graph-step1-en.svg b/mindinsight/ui/src/assets/images/graph-step1-en.svg index ffae756930c3e2634f6f7b9d0b2470d22a38749e..97e94f09e4ec5bcc12a17044d1b043b62b859b35 100644 --- a/mindinsight/ui/src/assets/images/graph-step1-en.svg +++ b/mindinsight/ui/src/assets/images/graph-step1-en.svg @@ -32,162 +32,169 @@ - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/mindinsight/ui/src/assets/images/graph-step1.svg b/mindinsight/ui/src/assets/images/graph-step1.svg index 0ef2d86de849334676e7a3a0c6bb239e685e9d94..4af7de14210343f07dc00af7dfee2e06e218f2cd 100644 --- a/mindinsight/ui/src/assets/images/graph-step1.svg +++ b/mindinsight/ui/src/assets/images/graph-step1.svg @@ -32,7 +32,168 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -48,160 +209,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mindinsight/ui/src/assets/images/graph-step2-en.svg b/mindinsight/ui/src/assets/images/graph-step2-en.svg index b08517f663c48a21c168becdf0e9e57324f9b95f..042761c3a579b0edac15eb88c6d8a0a5992cfb94 100644 --- a/mindinsight/ui/src/assets/images/graph-step2-en.svg +++ b/mindinsight/ui/src/assets/images/graph-step2-en.svg @@ -38,162 +38,169 @@ - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/mindinsight/ui/src/assets/images/graph-step2.svg b/mindinsight/ui/src/assets/images/graph-step2.svg index ed5992468b0b20fd4fa09aee7cb6a6185699fa2d..2c879e1aa39f2b9df017d7d70746e0ad7af42ea7 100644 --- a/mindinsight/ui/src/assets/images/graph-step2.svg +++ b/mindinsight/ui/src/assets/images/graph-step2.svg @@ -40,7 +40,168 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -56,160 +217,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mindinsight/ui/src/assets/images/graph-step3-en.svg b/mindinsight/ui/src/assets/images/graph-step3-en.svg index 4b48faf6d02fc93c29b7b12a0383b382b4a65923..e8be49085a063fad489c31873d504e860042bc2b 100644 --- a/mindinsight/ui/src/assets/images/graph-step3-en.svg +++ b/mindinsight/ui/src/assets/images/graph-step3-en.svg @@ -20,162 +20,169 @@ - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/mindinsight/ui/src/assets/images/graph-step3.svg b/mindinsight/ui/src/assets/images/graph-step3.svg index cf4a86d438b88744809175e56a363c3a75b1870f..fdadce0e6d421b9b78b1de978e6a8c4072462b97 100644 --- a/mindinsight/ui/src/assets/images/graph-step3.svg +++ b/mindinsight/ui/src/assets/images/graph-step3.svg @@ -20,7 +20,168 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -36,160 +197,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mindinsight/ui/src/assets/images/histogram-guid.svg b/mindinsight/ui/src/assets/images/histogram-guid.svg new file mode 100644 index 0000000000000000000000000000000000000000..5f77b97ef805018099da78abefb37e0583f0afb8 --- /dev/null +++ b/mindinsight/ui/src/assets/images/histogram-guid.svg @@ -0,0 +1,46 @@ + + + + 参数分布图 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/image-guid.svg b/mindinsight/ui/src/assets/images/image-guid.svg new file mode 100644 index 0000000000000000000000000000000000000000..451c7221b784bfb7b857cf95618671f6fd629820 --- /dev/null +++ b/mindinsight/ui/src/assets/images/image-guid.svg @@ -0,0 +1,87 @@ + + + + 数据抽样 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/map-dataset.png b/mindinsight/ui/src/assets/images/map-dataset.png deleted file mode 100644 index 5dc28c25b5f1f8004c25d023f452ad62858161f7..0000000000000000000000000000000000000000 Binary files a/mindinsight/ui/src/assets/images/map-dataset.png and /dev/null differ diff --git a/mindinsight/ui/src/assets/images/map-dataset.svg b/mindinsight/ui/src/assets/images/map-dataset.svg new file mode 100644 index 0000000000000000000000000000000000000000..18d7c63805e99f103be4c36a78cac934b471bb01 --- /dev/null +++ b/mindinsight/ui/src/assets/images/map-dataset.svg @@ -0,0 +1,9 @@ + + + + main + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/name-scope.png b/mindinsight/ui/src/assets/images/name-scope.png deleted file mode 100644 index 4e33e7a086cb9daaa7f9e5468d5062e2ada68265..0000000000000000000000000000000000000000 Binary files a/mindinsight/ui/src/assets/images/name-scope.png and /dev/null differ diff --git a/mindinsight/ui/src/assets/images/name-scope.svg b/mindinsight/ui/src/assets/images/name-scope.svg new file mode 100644 index 0000000000000000000000000000000000000000..7f98c3ec0e61ffc968365fe3671dd9b01b267678 --- /dev/null +++ b/mindinsight/ui/src/assets/images/name-scope.svg @@ -0,0 +1,9 @@ + + + + main + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/operator-node.png b/mindinsight/ui/src/assets/images/operator-node.png deleted file mode 100644 index 0e8243adef85874626bafbcc24e96b8f4999abe2..0000000000000000000000000000000000000000 Binary files a/mindinsight/ui/src/assets/images/operator-node.png and /dev/null differ diff --git a/mindinsight/ui/src/assets/images/operator-node.svg b/mindinsight/ui/src/assets/images/operator-node.svg new file mode 100644 index 0000000000000000000000000000000000000000..f10766e83ee38bd87213efe10f6a9ab74d5b957d --- /dev/null +++ b/mindinsight/ui/src/assets/images/operator-node.svg @@ -0,0 +1,9 @@ + + + + blue + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/polymetric.png b/mindinsight/ui/src/assets/images/polymetric.png deleted file mode 100644 index 0aa422ec944b03ff0692f46841e7c23556c43239..0000000000000000000000000000000000000000 Binary files a/mindinsight/ui/src/assets/images/polymetric.png and /dev/null differ diff --git a/mindinsight/ui/src/assets/images/polymetric.svg b/mindinsight/ui/src/assets/images/polymetric.svg new file mode 100644 index 0000000000000000000000000000000000000000..9f3d22032f3f3fd05ac7deaa581c9472e329aea1 --- /dev/null +++ b/mindinsight/ui/src/assets/images/polymetric.svg @@ -0,0 +1,9 @@ + + + + yellow + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/repeat-dataset.png b/mindinsight/ui/src/assets/images/repeat-dataset.png deleted file mode 100644 index ceed208c7b565cd91c187c72a4fc23a5d2906ac6..0000000000000000000000000000000000000000 Binary files a/mindinsight/ui/src/assets/images/repeat-dataset.png and /dev/null differ diff --git a/mindinsight/ui/src/assets/images/repeat-dataset.svg b/mindinsight/ui/src/assets/images/repeat-dataset.svg new file mode 100644 index 0000000000000000000000000000000000000000..d0d2fa4b1c447398ba58112f2f72b9fa96b9f7ba --- /dev/null +++ b/mindinsight/ui/src/assets/images/repeat-dataset.svg @@ -0,0 +1,9 @@ + + + + yellow + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/scalar-guid.svg b/mindinsight/ui/src/assets/images/scalar-guid.svg new file mode 100644 index 0000000000000000000000000000000000000000..d08d2c25947baeac40e10fbbb39bf45f747c2bb8 --- /dev/null +++ b/mindinsight/ui/src/assets/images/scalar-guid.svg @@ -0,0 +1,65 @@ + + + + 训练标量信息 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/shuffle-dataset.svg b/mindinsight/ui/src/assets/images/shuffle-dataset.svg new file mode 100644 index 0000000000000000000000000000000000000000..645b4a960f8dff35eb602c44036799927303a596 --- /dev/null +++ b/mindinsight/ui/src/assets/images/shuffle-dataset.svg @@ -0,0 +1,9 @@ + + + + orange + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/tensor-guid.svg b/mindinsight/ui/src/assets/images/tensor-guid.svg new file mode 100644 index 0000000000000000000000000000000000000000..331fe1e1af18416606e0c2a2868630f178dfe631 --- /dev/null +++ b/mindinsight/ui/src/assets/images/tensor-guid.svg @@ -0,0 +1,115 @@ + + + + 张量 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/assets/images/virtual-node.png b/mindinsight/ui/src/assets/images/virtual-node.png deleted file mode 100644 index 8266ce6ed54c10661abe759c4aa502eb74220d87..0000000000000000000000000000000000000000 Binary files a/mindinsight/ui/src/assets/images/virtual-node.png and /dev/null differ diff --git a/mindinsight/ui/src/assets/images/virtual-node.svg b/mindinsight/ui/src/assets/images/virtual-node.svg new file mode 100644 index 0000000000000000000000000000000000000000..5ae7f9d7f876c6e5e13f3631e051a7f7d962e390 --- /dev/null +++ b/mindinsight/ui/src/assets/images/virtual-node.svg @@ -0,0 +1,9 @@ + + + + orange + Created with Sketch. + + + + \ No newline at end of file diff --git a/mindinsight/ui/src/common/common-property.js b/mindinsight/ui/src/common/common-property.js index 696736119b669b86c4057f0fcce3e6a83409fb2d..11b8e4ed4b4787f05cb482556827cf7e9fcd0acc 100644 --- a/mindinsight/ui/src/common/common-property.js +++ b/mindinsight/ui/src/common/common-property.js @@ -38,6 +38,7 @@ export default { '#664EA3', ], commonColorArr: [ + '#00A5A7', '#6C92FA', '#FA8E5A', '#A6DD82', @@ -91,6 +92,7 @@ export default { ], // define graph color array graphColorArr: ['#FFF8F5', '#FDEEE7', '#FFE5D9', '#FFDAC9'], + graphColorArrPhg: ['#F5FBFB', '#EDF9F9', '#DEF5F5', '#C9F5F5'], // define fullscreen icon fullScreenIcon: 'path://M432.45,595.444c0,2.177-4.661,6.82-11.305,6.82c-6.475,' + @@ -107,11 +109,11 @@ export default { 'border: 1px solid #e6ebf5;}.selected {stroke: red !important;stroke-width: 2px;}' + '.node {cursor: pointer;}.node:hover > path,.node:hover > ellipse,' + '.node:hover > polygon,.node:hover > rect {stroke-width: 2px;}' + - '.edge path {stroke: rgb(167, 167, 167);}.edge polygon {fill: rgb(167, 167, 167);}' + - '.node.aggregation > polygon {stroke: #fdca5a;fill: #ffe8b5;}.node.cluster.aggregation > ' + - 'rect {stroke: #fdca5a;fill: #fff2d4;stroke-dasharray: 3, 3;}' + - '.node.cluster > rect:hover {stroke: #f45c5e;}.node > polygon {stroke: #f45c5e;fill: #ffba99;}' + - '.node > ellipse {stroke: #58a4e0;fill: #d1ebff;}.node > path {stroke: #56b077;fill: #c1f5d5;' + + '.edge path {stroke: rgb(120, 120, 120);}.edge polygon {fill: rgb(120, 120, 120);}' + + '.node.aggregation > polygon {stroke: #e3aa00;fill: #ffe794;}.node.cluster.aggregation > ' + + 'rect {stroke: #e3aa00;fill: #ffe794;stroke-dasharray: 3, 3;}' + + '.node.cluster > rect:hover {stroke: #8df1f2;}.node > polygon {stroke: #00a5a7;fill: #rgb(141,241,242);}' + + '.node > ellipse {stroke: #4ea6e6;fill: #b8e0ff;}.node > path {stroke: #e37d29;fill: #ffd0a6;' + 'stroke-dasharray: 3, 3;}' + '.hide {visibility: hidden;}.show {visibility: visible;}' + '.edgePoint ellipse{stroke:#a7a7a7;' + @@ -122,11 +124,11 @@ export default { dataMapDownloadStyle: '', }; diff --git a/mindinsight/ui/src/components/header.vue b/mindinsight/ui/src/components/header.vue index 6d1ee75f855cc420ee769f6be0534079d8c5f297..90d6e30d7c64fde6965b53fd797f0476f7f570b2 100644 --- a/mindinsight/ui/src/components/header.vue +++ b/mindinsight/ui/src/components/header.vue @@ -28,22 +28,8 @@ limitations under the License. :default-active="getActive()" class="el-menu-demo" mode="horizontal"> - - {{$t("summaryManage.summaryList")}} - - - {{$t("summaryManage.modelTraceback")}} - - - {{$t("summaryManage.dataTraceback")}} - - - {{$t("summaryManage.comparePlate")}} - + {{$t("summaryManage.summaryList")}} + Debugger @@ -201,15 +187,10 @@ export default { // get active menu item getActive() { const str = this.$route.path.split('/'); - if (str.length > 2) { - if (str[1] === 'train-manage' || str[1] === 'profiling' || str[1] === 'profiling-gpu') { - return '/summary-manage'; - } else { - return '/' + str[1]; - } - } else { + if (str.length > 1 && str[1] === 'debugger') { return this.$route.path; } + return '/summary-manage'; }, changeLanguage(lan) { localStorage.setItem('milang', lan); diff --git a/mindinsight/ui/src/locales/en-us.json b/mindinsight/ui/src/locales/en-us.json index d45df4f6a38ca8dd3174bde165f3dac4dc211c45..f50411dc15c311ca940810742f75ccea8567fba2 100644 --- a/mindinsight/ui/src/locales/en-us.json +++ b/mindinsight/ui/src/locales/en-us.json @@ -26,7 +26,8 @@ "leftbracket": "(", "rightbracket": ")", "point": "·", - "slashes": "/" + "slashes": "/", + "colon": ":" }, "header": { "refreshData": "Refresh Data", @@ -261,7 +262,7 @@ "https://www.mindspore.cn/tutorial/en/master/advanced_use/performance_profiling.html" ], "gpuUrl": [ - "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/performance_profiling_gpu.html" + "https://www.mindspore.cn/tutorial/en/master/advanced_use/performance_profiling_gpu.html" ] }, "step_trace-proposer_type_label": { @@ -437,7 +438,6 @@ "50542218": "Incorrect filtering parameter.", "50545012": "The tensor data does not exist. Please refresh.", "50545013": "The requested data is too large. Try another dimension.", - "50545014": "The queried tensor data has been replaced by new data. Please refresh.", - "50548001": "Ascend AI Processor information query timed out." + "50545014": "The queried tensor data has been replaced by new data. Please refresh." } } diff --git a/mindinsight/ui/src/locales/zh-cn.json b/mindinsight/ui/src/locales/zh-cn.json index a94d6826dd45c5eb4d208a14c43f0b52725fa6d7..562fc4c9df446934fe329a1ae00cad5c0e38262f 100644 --- a/mindinsight/ui/src/locales/zh-cn.json +++ b/mindinsight/ui/src/locales/zh-cn.json @@ -20,13 +20,15 @@ "cancel": "取消", "selectAll": "全选", "deselectAll": "取消全选", - "dataLoading": "数据加载中" + "dataLoading": "数据加载中", + "notice": "提示" }, "symbols": { "leftbracket": "(", "rightbracket": ")", "point": "·", - "slashes": "/" + "slashes": "/", + "colon": ":" }, "header": { "refreshData": "刷新数据", @@ -49,8 +51,33 @@ "dataTraceback": "数据溯源", "comparePlate": "对比看板", "disableProfilerTip": "无profiler日志,无法查看性能分析", - "hardwareVisual": "硬件资源", - "openNewTab": "打开新页签" + "openNewTab": "打开新页签", + "paramDetails": "参数详情", + "trainingParamDetails": "训练参数详情(目录)", + "tracebackAnalysis": "溯源分析", + "compareAnalysis": "对比分析", + "guidTipFirst": "请在您的训练脚本中", + "guidTipSecond": "增加summary数据的收集", + "guidTipThird": ",保存", + "scalarTipFirst": "标量", + "scalarTipSecond": "数据,以供展示训练过程中,标量的变化趋势情况。", + "histogramGuidTipFirst": "参数分布", + "histogramGuidTipSecond": "数据,以供展示指定的张量直方图。", + "tensorTipFirst": "张量", + "tensorTipSecond": "数据,以供展示。", + "graphTipFirst": "计算图", + "graphTipSecond": "结构数据,以供展示计算图的图结构,数据流以及控制流的走向。", + "dataProcessTipFirst": "数据处理过程", + "dataProcessTipSecond": "以供展示单次模型训练的数据处理和数据增强信息。", + "imageTipFirst": "指定图片", + "imageTipSecond": "以供展示。", + "guidUrl": "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/summary_record.html", + "scalarUrl": "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/dashboard.html#id3", + "histogramUrl": "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/dashboard.html#id4", + "tensorUrl": "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/dashboard.html#id8", + "graphUrl": "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/dashboard.html#id5", + "dataProcessUrl": "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/dashboard.html#id6", + "imageUrl": "https://www.mindspore.cn/tutorial/zh-CN/master/advanced_use/dashboard.html#id7" }, "modelTraceback": { "summaryPath": "训练日志路径", @@ -84,7 +111,15 @@ "userDefinedLabel": "User Defined", "hyperLabel": "Hyper", "otherLabel": "其他", - "remarkTips": "提示:终止服务后备注及tag将被清除" + "remarkTips": "提示:终止服务后备注及tag将被清除", + "optimizationObject": "优化目标", + "targetDistribution": "优化目标分布", + "parameterImportance": "参数重要性", + "optimizationTitle": "参数和优化目标", + "viewBigImage": "查看大图", + "mustOptions":"必选", + "customOptions":"自定义", + "targetTips":"可以通过上述参数的柱状图来切换参数和优化目标的散点图" }, "dataTraceback": { "details": "详情", @@ -410,7 +445,52 @@ "gridAccuracy": "保留小数位", "inCorrectInput": "无效输入", "gridTableNoData": "表格无数据", - "cache": "正在加载" + "cache": "正在加载", + "value": "数值", + "showCount": "出现次数", + "showLimitText": "展示数量", + "countPercent": "出现比例(%)", + "comparisonCounter": "对比指标", + "dimsFilterInputTitle": "维度选择", + "dimsFilterInputTip": "维度输入值可以是具体的索引(和Python的索引含义一致,支持负号)或者冒号\":\",其中冒号\":\"表示当前维度的所有值" + }, + "debugger": { + "debugger": "调试器", + "nodeList": "节点列表", + "watchList": "监测点列表", + "watchPoint": "监测点", + "continue": "继续", + "pause": "暂停", + "terminate": "结束", + "selectCondition": "请选择条件", + "inputStep": "请输入轮次值(大于0的整数)", + "curHitNode": "命中的监测点", + "backstageStatus": "后台运行状态是", + "view": "查看", + "deleteWatchpointConfirm": "此操作将删除当前监测点,是否继续?", + "ternimateConfirm": "此操作将结束当前状态,是否继续?", + "successCreateWP": "新建监测点成功", + "successDeleteWP": "删除监测点成功", + "pendingTips": "等待训练连接...", + "nextNodeTip": "当前已经是最后一个节点", + "previousNodeTip": "当前已经是第一个节点", + "serviceError": "连接后端服务失败,请检查后刷新页面", + "tolerance":"容忍度", + "curValue":"当前值", + "compareToPre":"上一步对比", + "stepTip":"(0表示训练初始状态)", + "toSummeryList": "返回训练列表", + "clientIp": "训练端地址", + "deviceId": "卡号", + "currentStep": "当前轮次", + "step": "轮次", + "currentNode": "当前节点", + "previousNode": "上一个节点", + "nextNode": "下一个节点", + "tensorMsg": "张量信息", + "dType": "类型", + "shape": "形状", + "value": "值" }, "error": { "50540000": "系统错误", @@ -437,6 +517,18 @@ "50545012": "张量数据不存在,请刷新。", "50545013": "请求的数据过大,请使用其他维度重试。", "50545014": "查询的张量数据已被新数据替换,请刷新。", - "50548001": "昇腾AI处理器信息查询超时" + + "5054A080": "参数类型错误", + "5054A081": "参数值错误", + "5054A082": "参数缺失", + "5054A083": "运行错误", + "5054A084": "未明确错误", + "5054A100": "节点不存在", + "5054A101": "图不存在", + "5054A180": "监测点创建失败", + "5054A181": "监测点更新失败", + "5054A182": "监测点删除失败", + "5054A183": "后台训练运行中或已结束", + "5054A184": "后台训练未开始或已暂停" } } diff --git a/mindinsight/ui/src/views/train-manage/data-map.vue b/mindinsight/ui/src/views/train-manage/data-map.vue index afe997c0c98d0db5cca5caeeb0a3df1a53bfea7f..d20c0774c6c0921a54bc31fb7055d5cf89172a44 100644 --- a/mindinsight/ui/src/views/train-manage/data-map.vue +++ b/mindinsight/ui/src/views/train-manage/data-map.vue @@ -99,42 +99,42 @@ limitations under the License. class="legend-content">
-
Create
-
Map
-
Operator
-
Shuffle
-
Batch
-
Repeat
@@ -691,24 +691,24 @@ export default { } .CreatDataset > polygon, .Operator > ellipse { - stroke: #58a4e0; - fill: #d1ebff; + stroke: #4ea6e6; + fill: #b8e0ff; } .cluster > polygon { - fill: #c1f5d5; - stroke: #56b077; + fill: #8df1f2; + stroke: #00a5a7; } .RepeatDataset > polygon { stroke: #fdca5a; fill: #fff2d4; } .ShuffleDataset > polygon { - stroke: #f79666; - fill: #fed78e; + stroke: #e37d29; + fill: #ffd0a6; } .BatchDataset > polygon { - stroke: #fa8e5a; - fill: #ffcfb8; + stroke: #de504e; + fill: #ffbcba; } .edge { path { diff --git a/mindinsight/ui/src/views/train-manage/graph.vue b/mindinsight/ui/src/views/train-manage/graph.vue index a661c8b2a359b264c123a47375dcc4bc3b39676f..55cf664300ab87470227f0fb1358daa8ab08eda4 100644 --- a/mindinsight/ui/src/views/train-manage/graph.vue +++ b/mindinsight/ui/src/views/train-manage/graph.vue @@ -337,7 +337,7 @@ limitations under the License. class="legend-content">
-
-
-
-
-
{ @@ -1256,7 +1256,7 @@ export default { : 'shape="octagon";' }];`; } else if (node.type === 'name_scope') { - const fillColor = CommonProperty.graphColorArr[this.curColorIndex]; + const fillColor = CommonProperty.graphColorArrPhg[this.curColorIndex]; this.curColorIndex = this.curColorIndex % 4; this.curColorIndex++; tempStr += @@ -1537,16 +1537,25 @@ export default { let label = ''; if (!edge.count || edge.count === 1) { if (edge.shape && edge.shape.length) { - const flag = edge.shape.some((i) => { - return typeof i !== 'number'; - }); - if (flag) { + if (edge.shape.length > 1) { label = `tuple(${edge.shape.length} items)`; } else { - label = `${edge.data_type} ${edge.shape.join('×')}`; + const shape = edge.shape[0]; + if (shape && shape.length) { + const flag = shape.some((i) => { + return typeof i !== 'number'; + }); + if (flag) { + label = `tuple(${shape.length} items)`; + } else { + label = `${edge.data_type} ${shape.join('×')}`; + } + } else if (edge.data_type) { + label = `${edge.data_type}`; + } } } else if (edge.data_type) { - label = `${edge.data_type} Scalar`; + label = `${edge.data_type}`; } } else { label = `${edge.count}tensors`; @@ -1678,7 +1687,7 @@ export default { let fillColor = type === 'aggregation_scope' ? '#fff2d4' : '#ffe4d6'; const curColorIndex = (name.split('/').length - 1) % 4; if (type === 'name_scope') { - fillColor = CommonProperty.graphColorArr[curColorIndex]; + fillColor = CommonProperty.graphColorArrPhg[curColorIndex]; } const graphTemp = d3.select(idStr).node(); @@ -1909,8 +1918,8 @@ export default { marker .append('path') .attr('d', 'M1,1 L1,5 L6,3 z') - .attr('fill', 'rgb(167, 167, 167)') - .attr('stroke', 'rgb(167, 167, 167)'); + .attr('fill', 'rgb(120, 120, 120)') + .attr('stroke', 'rgb(120, 120, 120)'); g.append('path') .attr('stroke', 'rgb(167, 167, 167)') .attr('stroke-width', 1) @@ -3439,7 +3448,7 @@ export default { stroke-width: 2px; } .node.cluster > rect:hover { - stroke: #f45c5e; + stroke: #8df1f2; } .selected { stroke: red !important; @@ -3472,10 +3481,10 @@ export default { } .edge { path { - stroke: rgb(167, 167, 167); + stroke: rgb(120, 120, 120); } polygon { - fill: rgb(167, 167, 167); + fill: rgb(120, 120, 120); } } .edge.highlighted { @@ -3493,26 +3502,26 @@ export default { } } .node.aggregation > polygon { - stroke: #fdca5a; - fill: #ffe8b5; + stroke: #e3aa00; + fill: #ffe794; } .node.cluster.aggregation > rect { - stroke: #fdca5a; - fill: #fff2d4; + stroke: #e3aa00; + fill: #ffe794; stroke-dasharray: 3, 3; } .node > polygon { - stroke: #f45c5e; - fill: #ffba99; + stroke: #00a5a7; + fill: rgb(141, 241, 242); } .node > ellipse { - stroke: #58a4e0; - fill: #d1ebff; + stroke: #4ea6e6; + fill: #b8e0ff; } .plain > path, .plain ellipse { - stroke: #56b077; - fill: #c1f5d5; + stroke: #e37d29; + fill: #ffd0a6; stroke-dasharray: 1.5, 1.5; } .edge-point ellipse { diff --git a/mindinsight/ui/src/views/train-manage/summary-manage.vue b/mindinsight/ui/src/views/train-manage/summary-manage.vue index 254db56c8f972fa27de1a88d2e4b3d116b77ed66..747edcdfd9e541512d7045f2d90a7fc156647c95 100644 --- a/mindinsight/ui/src/views/train-manage/summary-manage.vue +++ b/mindinsight/ui/src/views/train-manage/summary-manage.vue @@ -16,7 +16,7 @@ limitations under the License. @@ -1868,7 +1916,7 @@ export default { datum.attributes.width = width; datum.attributes.height = height; } else if (isChild) { - datum.attributes.stroke = 'rgb(167, 167, 167)'; + datum.attributes.stroke = 'rgb(120, 120, 120)'; } }, @@ -2087,7 +2135,6 @@ export default { padding-right: 20px; height: 56px; vertical-align: middle; - background: #ffffff; .path-message { display: inline-block; line-height: 20px; @@ -2108,10 +2155,10 @@ export default { } } .cl-dashboard-center { - width: calc(100% + 2px); - margin: -1px; - margin-top: 2px; + width: 100%; + margin: 0; height: calc(100% - 58px); + padding: 0px 10px 10px 10px; } .title-height { height: 30px; @@ -2150,10 +2197,17 @@ export default { padding: 1.6vw; cursor: pointer; overflow: hidden; - height: calc(50% - 2px); - width: calc(33.3% - 2px); - margin: 1px; + height: calc(50% - 10px); + width: calc(33.3% - 10px); + margin: 5px; float: left; + border-radius: 3px; + box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); + .link-text { + cursor: pointer; + font-size: 16px; + color: #00a5a7; + } } .cl-module { @@ -2195,10 +2249,10 @@ export default { } .edge { path { - stroke: rgb(167, 167, 167); + stroke: rgb(120, 120, 120); } polygon { - fill: rgb(167, 167, 167); + fill: rgb(120, 120, 120); } } @@ -2213,8 +2267,8 @@ export default { } .node > polygon { - stroke: #f45c5e; - fill: #ffba99; + stroke: #00a5a7; + fill: #8df1f2; } .node > ellipse { stroke: #58a4e0; @@ -2247,13 +2301,13 @@ export default { background: #fff; text-align: center; height: 100%; - padding-top: 50px; + padding-top: 26px; img { max-width: 100%; } p { font-size: 16px; - padding-top: 10px; + padding-top: 31px; } } // Public Style End @@ -2289,24 +2343,24 @@ export default { #dataMapGraph { .CreatDataset > polygon, .Operator > ellipse { - stroke: #58a4e0; - fill: #d1ebff; + stroke: #4ea6e6; + fill: #b8e0ff; } .cluster > polygon { - fill: #c1f5d5; - stroke: #56b077; + fill: #8df1f2; + stroke: #00a5a7; } .RepeatDataset > polygon { stroke: #fdca5a; fill: #fff2d4; } .ShuffleDataset > polygon { - stroke: #f79666; - fill: #fed78e; + stroke: #e37d29; + fill: #ffd0a6; } .BatchDataset > polygon { - stroke: #fa8e5a; - fill: #ffcfb8; + stroke: #de504e; + fill: #ffbcba; } .edge { path {