diff --git a/mindinsight/ui/src/locales/en-us.json b/mindinsight/ui/src/locales/en-us.json index 22ee5067..670e2091 100644 --- a/mindinsight/ui/src/locales/en-us.json +++ b/mindinsight/ui/src/locales/en-us.json @@ -191,7 +191,7 @@ "images": { "titleText": "Image", "titleTip": "Only 10 images are displayed randomly.", - "imageErrorTip": "An image has been updated, View the image after data loading is complete.", + "imageErrorTip": "The current image has been updated. View the image after data loading is complete.", "tagSelectTitle": "Tag Selection", "selectAll": "All", "open": "More", @@ -733,6 +733,8 @@ "curStep": "Current Step", "preStep": "Previous Step", "compareResult": "Comparison Result", + "recommendTip": "Use the recommended watchpoints?", + "recommendDetail": "The recommended watchpoints check zero tensors, gradient disappearances, and update weight above threshold.", "use": "Yes", "notUse": "No", "versionConflictTip": "MindSpore and MindInsight versions do not match. MindSpore version: {msv}; MindInsight version: {miv}", @@ -741,6 +743,22 @@ "inf": "A tensor contains +/-INF, ", "no_prev_tensor": "The previous step value cannot be found, ", "cannotCheck": "check fails." + }, + "stateTips": { + "running": "Running", + "sending": "To be executed" + }, + "stateMsg": { + "running": "The training is running.", + "sending": "Wait for the command to be executed." + }, + "paramErrorMsg": { + "errorType": "Enter a number", + "percentError": "The percentage value cannot be less than 0 or greater than 100.", + "rangeError": "The lower limit cannot be greater than the upper limit.", + "nonnegative": "The parameter value cannot be less than 0.", + "allPositive": "he parameter value must be greater than 0.", + "watchOverflow": "The asynchronous full overflow watching function must be enabled before the training starts." } }, "explain": { @@ -834,7 +852,7 @@ "50545012": "The tensor data does not exist. Please refresh.", "50545013": "The requested data exceeds the upper limit 100,000. Shard or query other dimensions.", "50545014": "The queried tensor data has been replaced by new data. Please refresh.", - "50545016": "The requested tensor is too large. The total number of values exceeds 10 million and cannot be displayed.", + "50545016": "The number of requested tensors exceeds 10 million and cannot be displayed.", "50546083": "The profiler directory does not exist.", "50548001": "Ascend AI Processor information query timed out.", "5054B080": "Incorrect parameter type. Please check the input parameter type.", @@ -843,6 +861,8 @@ "5054B181": "Failed to update the watchpoint. Please stop training and try again.", "5054B182": "Failed to delete the watchpoint. Please stop training and try again.", "5054B183": "Backend training is in progress or has ended. Please try again later", - "5054B184": "The operation is too fast, the backend service has been suspended." + "5054B184": "The operation is too fast, the backend service has been suspended.", + "5054B189": "Do not set the value repeatedly.", + "5054B083": "Failed to create the watchpoint. Do not use invalid rules." } } \ No newline at end of file diff --git a/mindinsight/ui/src/mixins/debugger-mixin.vue b/mindinsight/ui/src/mixins/debugger-mixin.vue index d3d3b3bb..e3b81d72 100644 --- a/mindinsight/ui/src/mixins/debugger-mixin.vue +++ b/mindinsight/ui/src/mixins/debugger-mixin.vue @@ -496,6 +496,8 @@ export default { } if (res.data.receive_watchpoint_hits) { this.radio1 = 'hit'; + this.pagination.currentPage = 1; + this.watchPointHits = []; this.searchWatchpointHits(true); } @@ -527,6 +529,7 @@ export default { */ control(type) { if (type !== 3) { + this.pagination.currentPage = 1; this.watchPointHits = []; } const params = {}; @@ -586,6 +589,8 @@ export default { if (res && res.data && res.data.metadata) { if (res.data.metadata.enable_recheck !== undefined) { this.enableRecheck = res.data.metadata.enable_recheck; + this.pagination.currentPage = 1; + this.watchPointHits = []; } if (res.data.metadata.state) { this.metadata.state = res.data.metadata.state; @@ -1568,6 +1573,7 @@ export default { this.searchWatchpointHits(false); } } else { + this.watchPointHits = []; this.pagination.total = 0; } } diff --git a/mindinsight/ui/src/views/debugger/debugger.vue b/mindinsight/ui/src/views/debugger/debugger.vue index b9ed6282..3f2791bd 100644 --- a/mindinsight/ui/src/views/debugger/debugger.vue +++ b/mindinsight/ui/src/views/debugger/debugger.vue @@ -885,6 +885,8 @@ export default { if (this.oldState === this.state.pending || oldValue === this.state.pending) { this.loadNode(this.node, this.resolve); } else if (this.oldState === this.state.running || oldValue === this.state.running) { + this.pagination.currentPage = 1; + this.watchPointHits = []; this.searchWatchpointHits(true); } } @@ -1270,6 +1272,7 @@ export default { * Continue to */ continueTo() { + this.pagination.currentPage = 1; this.watchPointHits = []; const params = { mode: 'continue', @@ -1405,6 +1408,7 @@ export default { if (!independentLayout && nodes.length > nodesCountLimit) { this.$message.error(this.$t('graph.tooManyNodes')); this.packageDataToObject(name, false); + this.loadingInstance.close(); } else { if (nodes && nodes.length) { this.packageDataToObject(name, true, nodes); @@ -1420,6 +1424,7 @@ export default { this.allGraphData[name].isUnfold = true; this.selectedNode.name = name; this.deleteNamespace(name); + this.loadingInstance.close(); return; } } diff --git a/mindinsight/ui/src/views/train-manage/graph.vue b/mindinsight/ui/src/views/train-manage/graph.vue index 78fb43fc..3ab6072a 100644 --- a/mindinsight/ui/src/views/train-manage/graph.vue +++ b/mindinsight/ui/src/views/train-manage/graph.vue @@ -707,7 +707,11 @@ export default { } } else if (node.level >= 1) { this.isIntoView = false; - this.queryGraphData(node.data.name, resolve); + this.loading.info = this.$t('graph.queryLoading'); + this.loading.show = true; + setTimeout(() => { + this.queryGraphData(node.data.name, resolve); + }, 200); } }, /** @@ -1829,6 +1833,7 @@ export default { overflow: auto; border: 1px solid #dcdfe6; border-top: none; + background: #fff; .image-type { width: 20px; height: 10px;