From 5ec6a3bac137d6e5d6e8ee81887957c0b690a7bd Mon Sep 17 00:00:00 2001 From: ph Date: Wed, 22 Apr 2020 18:41:43 +0800 Subject: [PATCH] update --- mindinsight/ui/src/locales/zh-cn.json | 3 ++- mindinsight/ui/src/views/train-manage/data-traceback.vue | 5 +++++ mindinsight/ui/src/views/train-manage/model-traceback.vue | 6 +++++- .../ui/src/views/train-manage/training-dashboard.vue | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/mindinsight/ui/src/locales/zh-cn.json b/mindinsight/ui/src/locales/zh-cn.json index 030a5bc..3ad3a96 100644 --- a/mindinsight/ui/src/locales/zh-cn.json +++ b/mindinsight/ui/src/locales/zh-cn.json @@ -48,7 +48,8 @@ "noDataFound":"暂无满足筛选条件的数据", "noDataTips":"请点击“显示全量数据”按钮查看全量数据", "userDefined": "自定义数据", - "metric": "度量指标" + "metric": "度量指标", + "deviceNum": "device数目" }, "dataTraceback": { "details": "详情", diff --git a/mindinsight/ui/src/views/train-manage/data-traceback.vue b/mindinsight/ui/src/views/train-manage/data-traceback.vue index 6e3e538..9415d38 100644 --- a/mindinsight/ui/src/views/train-manage/data-traceback.vue +++ b/mindinsight/ui/src/views/train-manage/data-traceback.vue @@ -255,6 +255,7 @@ export default { this.$t('modelTraceback.learningRate'), 'epoch', 'steps', + this.$t('modelTraceback.deviceNum'), this.$t('modelTraceback.modelSize'), this.$t('modelTraceback.lossFunc'), ], @@ -266,6 +267,7 @@ export default { 'model_size', 'loss', 'learning_rate', + 'device_num', ], table: { columnOptions: { @@ -303,6 +305,9 @@ export default { batch_size: { label: 'steps', }, + device_num: { + label: this.$t('modelTraceback.deviceNum'), + }, loss_function: { label: this.$t('modelTraceback.lossFunc'), }, diff --git a/mindinsight/ui/src/views/train-manage/model-traceback.vue b/mindinsight/ui/src/views/train-manage/model-traceback.vue index 7520dc6..345be3f 100644 --- a/mindinsight/ui/src/views/train-manage/model-traceback.vue +++ b/mindinsight/ui/src/views/train-manage/model-traceback.vue @@ -82,7 +82,7 @@ limitations under the License. :label="table.columnOptions[key].label" :fixed="table.columnOptions[key].label===text?true:false" show-overflow-tooltip - min-width="180" + min-width="150" sortable="custom">