Browse Source

UI deepening color of slider to image in image page and the message

displayed when thhe tensor data is too large is optimized
tags/v1.1.0
xiayifan 5 years ago
parent
commit
4f839164f5
3 changed files with 37 additions and 6 deletions
  1. +3
    -3
      mindinsight/ui/src/locales/en-us.json
  2. +4
    -3
      mindinsight/ui/src/locales/zh-cn.json
  3. +30
    -0
      mindinsight/ui/src/views/train-manage/image.vue

+ 3
- 3
mindinsight/ui/src/locales/en-us.json View File

@@ -218,7 +218,7 @@
"viewTypeTitle": "View",
"chartViewType": "Table",
"histogramViewType": "Histogram",
"tensorDashboardLimitErrorMsg": "The requested data is too large. Go to the tensor page and try another dimension."
"tensorDashboardLimitErrorMsg": "The requested data exceeds the upper limit 100,000. Go to the tensor page and try slicing or querying another dimensions."
},
"graph": {
"titleText": "Computational Graph",
@@ -503,7 +503,7 @@
"dType": "DType",
"shape": "Shape",
"value": "Value",
"largeDataTip": "The requested data is too large. Try another dimension.",
"largeDataTip": "The requested data exceeds the upper limit 100,000. Try slicing or querying another dimensions.",
"continueTo": "Continue to",
"inf": "INF:",
"negativeInf": "-INF:",
@@ -597,7 +597,7 @@
"50542217": "Incorrect summary log path.",
"50542218": "Incorrect filtering parameter.",
"50545012": "The tensor data does not exist. Please refresh.",
"50545013": "The requested data is too large. Try another dimension.",
"50545013": "The requested data exceeds the upper limit 100,000. Try slicing or querying another dimensions.",
"50545014": "The queried tensor data has been replaced by new data. Please refresh.",
"50546083": "The profiler directory does not exist.",
"50548001": "Ascend AI Processor information query timed out.",


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

@@ -216,7 +216,7 @@
"viewTypeTitle": "视图",
"chartViewType": "表格",
"histogramViewType": "直方图",
"tensorDashboardLimitErrorMsg": "请求的数据过大,请进入张量页使用其他维度重试。"
"tensorDashboardLimitErrorMsg": "请求的数据超过上限10万,请点击进入张量页,尝试切片或查询其他维度。"
},
"graph": {
"titleText": "计算图",
@@ -504,7 +504,7 @@
"dType": "类型",
"shape": "形状",
"value": "数值",
"largeDataTip": "请求的数据过大,请使用其他维度重试。",
"largeDataTip": "请求的数据超过上限10万,请尝试切片或查询其他维度。",
"continueTo": "运行到该节点",
"inf": "INF:",
"negativeInf": "-INF:",
@@ -581,6 +581,7 @@
"viewScore": "查看评分",
"fetch": "筛选",
"minConfidence": "概率阈值",
"confidenceRange": "概率(区间)",
"imgSort": "图片排序",
"default": "默认",
"byProbability": "概率值降序",
@@ -652,7 +653,7 @@
"50542217": "Summary日志路径错误",
"50542218": "筛选参数错误",
"50545012": "张量数据不存在,请刷新。",
"50545013": "请求的数据过大,请使用其他维度重试。",
"50545013": "请求的数据超过上限10万,请尝试切片或查询其他维度。",
"50545014": "查询的张量数据已被新数据替换,请刷新。",
"50546083": "性能数据目录不存在",
"50548001": "昇腾AI处理器信息查询超时",


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

@@ -798,6 +798,36 @@ export default {
margin-top: 10px;
}
}
::-webkit-scrollbar-button {
z-index: 200;
width: 10px;
height: 10px;
background: #fff;
cursor: pointer;
}
::-webkit-scrollbar-button:horizontal:single-button:start {
background-image: url('../../assets/images/scroll-btn-left.png');
background-position: center;
}
::-webkit-scrollbar-button:horizontal:single-button:end {
background-image: url('../../assets/images/scroll-btn-right.png');
background-position: center;
}
::-webkit-scrollbar-button:vertical:single-button:start {
background-image: url('../../assets/images/scroll-btn-up.png');
background-position: center;
}
::-webkit-scrollbar-button:vertical:single-button:end {
background-image: url('../../assets/images/scroll-btn-down.png');
background-position: center;
}
::-webkit-scrollbar-thumb {
background-color: #bac5cc;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
}
}



Loading…
Cancel
Save