Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
VisualDL
提交
5a16e71a
V
VisualDL
项目概览
PaddlePaddle
/
VisualDL
大约 1 年 前同步成功
通知
88
Star
4655
Fork
642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
5
Wiki
分析
仓库
DevOps
项目成员
Pages
V
VisualDL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
5
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5a16e71a
编写于
1月 13, 2018
作者:
B
BingBlog
提交者:
abigale Li
1月 13, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify graph url (#121)
上级
5f1d9984
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
23 addition
and
185 deletion
+23
-185
frontend/mock/data/plugin/graphs/graph.js
frontend/mock/data/plugin/graphs/graph.js
+1
-1
frontend/mock/data/plugin/scalars/tags.js
frontend/mock/data/plugin/scalars/tags.js
+0
-144
frontend/src/graph/Graph.san
frontend/src/graph/Graph.san
+1
-33
frontend/src/graph/ui/chart.san
frontend/src/graph/ui/chart.san
+3
-3
frontend/src/histogram/Histogram.san
frontend/src/histogram/Histogram.san
+4
-0
frontend/src/histogram/ui/chart.san
frontend/src/histogram/ui/chart.san
+4
-4
frontend/src/histogram/ui/chartPage.san
frontend/src/histogram/ui/chartPage.san
+1
-0
frontend/src/images/Images.san
frontend/src/images/Images.san
+4
-0
frontend/src/scalars/Scalars.san
frontend/src/scalars/Scalars.san
+4
-0
frontend/src/scalars/ui/chartPage.san
frontend/src/scalars/ui/chartPage.san
+1
-0
未找到文件。
frontend/mock/data/plugin/graphs/graph.js
浏览文件 @
5a16e71a
...
...
@@ -17,7 +17,7 @@ module.exports = function (path, queryParam, postParam) {
status
:
0
,
msg
:
'
SUCCESS
'
,
data
:
{
url
:
'
someurl
'
url
:
''
}
}
};
...
...
frontend/mock/data/plugin/scalars/tags.js
浏览文件 @
5a16e71a
...
...
@@ -21,150 +21,6 @@ module.exports = function (path, queryParam, postParam) {
"
layer2/biases/summaries/mean
"
:
{
"
displayName
"
:
"
layer2/biases/summaries/mean
"
,
"
description
"
:
""
},
"
layer1/weights/summaries/min
"
:
{
"
displayName
"
:
"
layer1/weights/summaries/min
"
,
"
description
"
:
""
},
"
layer2/biases/summaries/stddev_1
"
:
{
"
displayName
"
:
"
layer2/biases/summaries/stddev_1
"
,
"
description
"
:
""
},
"
layer1/biases/summaries/mean
"
:
{
"
displayName
"
:
"
layer1/biases/summaries/mean
"
,
"
description
"
:
""
},
"
layer1/weights/summaries/mean
"
:
{
"
displayName
"
:
"
layer1/weights/summaries/mean
"
,
"
description
"
:
""
},
"
dropout/dropout_keep_probability
"
:
{
"
displayName
"
:
"
dropout/dropout_keep_probability
"
,
"
description
"
:
""
},
"
layer1/weights/summaries/max
"
:
{
"
displayName
"
:
"
layer1/weights/summaries/max
"
,
"
description
"
:
""
},
"
layer2/weights/summaries/mean
"
:
{
"
displayName
"
:
"
layer2/weights/summaries/mean
"
,
"
description
"
:
""
},
"
layer2/weights/summaries/stddev_1
"
:
{
"
displayName
"
:
"
layer2/weights/summaries/stddev_1
"
,
"
description
"
:
""
},
"
layer2/weights/summaries/min
"
:
{
"
displayName
"
:
"
layer2/weights/summaries/min
"
,
"
description
"
:
""
},
"
layer1/biases/summaries/max
"
:
{
"
displayName
"
:
"
layer1/biases/summaries/max
"
,
"
description
"
:
""
},
"
layer2/weights/summaries/max
"
:
{
"
displayName
"
:
"
layer2/weights/summaries/max
"
,
"
description
"
:
""
},
"
accuracy_1
"
:
{
"
displayName
"
:
"
accuracy_1
"
,
"
description
"
:
""
},
"
layer2/biases/summaries/min
"
:
{
"
displayName
"
:
"
layer2/biases/summaries/min
"
,
"
description
"
:
""
},
"
cross_entropy_1
"
:
{
"
displayName
"
:
"
cross_entropy_1
"
,
"
description
"
:
""
},
"
layer2/biases/summaries/max
"
:
{
"
displayName
"
:
"
layer2/biases/summaries/max
"
,
"
description
"
:
""
},
"
layer1/weights/summaries/stddev_1
"
:
{
"
displayName
"
:
"
layer1/weights/summaries/stddev_1
"
,
"
description
"
:
""
},
"
layer1/biases/summaries/stddev_1
"
:
{
"
displayName
"
:
"
layer1/biases/summaries/stddev_1
"
,
"
description
"
:
""
},
"
layer1/biases/summaries/min
"
:
{
"
displayName
"
:
"
layer1/biases/summaries/min
"
,
"
description
"
:
""
}
},
"
train
"
:
{
"
layer2/biases/summaries/mean
"
:
{
"
displayName
"
:
"
layer2/biases/summaries/mean
"
,
"
description
"
:
""
},
"
layer1/weights/summaries/min
"
:
{
"
displayName
"
:
"
layer1/weights/summaries/min
"
,
"
description
"
:
""
},
"
layer2/biases/summaries/stddev_1
"
:
{
"
displayName
"
:
"
layer2/biases/summaries/stddev_1
"
,
"
description
"
:
""
},
"
layer1/biases/summaries/mean
"
:
{
"
displayName
"
:
"
layer1/biases/summaries/mean
"
,
"
description
"
:
""
},
"
layer1/weights/summaries/mean
"
:
{
"
displayName
"
:
"
layer1/weights/summaries/mean
"
,
"
description
"
:
""
},
"
dropout/dropout_keep_probability
"
:
{
"
displayName
"
:
"
dropout/dropout_keep_probability
"
,
"
description
"
:
""
},
"
layer1/weights/summaries/max
"
:
{
"
displayName
"
:
"
layer1/weights/summaries/max
"
,
"
description
"
:
""
},
"
layer2/weights/summaries/mean
"
:
{
"
displayName
"
:
"
layer2/weights/summaries/mean
"
,
"
description
"
:
""
},
"
layer2/weights/summaries/stddev_1
"
:
{
"
displayName
"
:
"
layer2/weights/summaries/stddev_1
"
,
"
description
"
:
""
},
"
layer2/weights/summaries/min
"
:
{
"
displayName
"
:
"
layer2/weights/summaries/min
"
,
"
description
"
:
""
},
"
layer1/biases/summaries/max
"
:
{
"
displayName
"
:
"
layer1/biases/summaries/max
"
,
"
description
"
:
""
},
"
layer2/weights/summaries/max
"
:
{
"
displayName
"
:
"
layer2/weights/summaries/max
"
,
"
description
"
:
""
},
"
accuracy_1
"
:
{
"
displayName
"
:
"
accuracy_1
"
,
"
description
"
:
""
},
"
layer2/biases/summaries/min
"
:
{
"
displayName
"
:
"
layer2/biases/summaries/min
"
,
"
description
"
:
""
},
"
cross_entropy_1
"
:
{
"
displayName
"
:
"
cross_entropy_1
"
,
"
description
"
:
""
},
"
layer2/biases/summaries/max
"
:
{
"
displayName
"
:
"
layer2/biases/summaries/max
"
,
"
description
"
:
""
},
"
layer1/weights/summaries/stddev_1
"
:
{
"
displayName
"
:
"
layer1/weights/summaries/stddev_1
"
,
"
description
"
:
""
},
"
layer1/biases/summaries/stddev_1
"
:
{
"
displayName
"
:
"
layer1/biases/summaries/stddev_1
"
,
"
description
"
:
""
}
}
}
...
...
frontend/src/graph/Graph.san
浏览文件 @
5a16e71a
...
...
@@ -21,7 +21,7 @@
</template>
<script>
import {getPlugin
HistogramsTags, getRuns
} from '../service';
import {getPlugin
GraphsGraph
} from '../service';
import autoAdjustHeight from '../common/util/autoAdjustHeight';
import config from './ui/config';
import chart from './ui/chart';
...
...
@@ -44,41 +44,9 @@ export default {
}
};
},
inited() {
getPluginHistogramsTags().then(({errno, data}) => {
this.data.set('tags', data);
// filter when inited
let groupNameReg = this.data.get('config.groupNameReg');
this.filterTagsList(groupNameReg);
});
getRuns().then(({errno, data}) => {
this.data.set('runsArray', data);
this.data.set('config.runs', data);
});
},
attached() {
autoAdjustHeight();
},
filterTagsList(groupNameReg) {
let tagsList = this.data.get('tagsList') || [];
let regExp = new RegExp(groupNameReg);
let filtedTagsList = tagsList.filter(item => regExp.test(item.tag));
this.data.set('filteredTagsList', filtedTagsList);
},
handleFitScreen() {
this.data.set('filtScreen', {
filtScreen: true
});
this.data.set('config.scale', 0.5);
},
handleDownload() {
this.data.set('download', {
filtScreen: true
});
}
};
...
...
frontend/src/graph/ui/chart.san
浏览文件 @
5a16e71a
...
...
@@ -4,7 +4,7 @@
<div class="visual-dl-chart-box">
</div>
-->
<div class="visual-dl-img-box">
<div
san-if="graphUrl"
class="visual-dl-img-box">
<div class="small-img-box">
<img class="small-img" width="30" src="{{graphUrl}}" />
<div class="screen-handler"></div>
...
...
@@ -85,8 +85,8 @@ export default {
},
getOriginChartsData() {
getPluginGraphsGraph().then(({data}) => {
if (data.url) {
getPluginGraphsGraph().then(({
status,
data}) => {
if (
+status === 0 &&
data.url) {
this.data.set('graphUrl', data.url);
this.addDragEventForImg();
}
...
...
frontend/src/histogram/Histogram.san
浏览文件 @
5a16e71a
...
...
@@ -140,6 +140,10 @@ export default {
},
filterTagsList(groupNameReg) {
if (!groupNameReg) {
this.data.set('filteredTagsList', []);
return;
}
let tagsList = this.data.get('tagsList') || [];
let regExp = new RegExp(groupNameReg);
let filtedTagsList = tagsList.filter(item => regExp.test(item.tag));
...
...
frontend/src/histogram/ui/chart.san
浏览文件 @
5a16e71a
...
...
@@ -204,7 +204,7 @@ export default {
});
rawData.push(lineData);
});
// Max point in every polygon.
// let maxValuePoints = [];
let option = {
...
...
@@ -312,7 +312,7 @@ export default {
zr.on('mouseout', e => {
removeTooltip();
});
});
zr.on('mousemove', e => {
removeTooltip();
...
...
@@ -408,7 +408,7 @@ export default {
zrDrawElement.tooltipY = new echarts.graphic.Text({
position: [
gridRect.x + gridRect.width,
gridRect.x + gridRect.width,
linePoints[linePoints.length - 1][1]
],
style: {
...
...
@@ -515,7 +515,7 @@ export default {
expandArea() {
let isExpand = this.data.get('isExpand');
let pageBoxWidth = document.getElementsByClassName('visual-dl-chart-page
-box
')[0].offsetWidth;
let pageBoxWidth = document.getElementsByClassName('visual-dl-chart-page')[0].offsetWidth;
if (!isExpand) {
let el = this.el.getElementsByClassName('visual-dl-chart-box')[0];
el.style.width = pageBoxWidth + 'px';
...
...
frontend/src/histogram/ui/chartPage.san
浏览文件 @
5a16e71a
<template>
<!-- className visual-dl-chart-page used in chart.san, change they all if you need!-->
<div class="visual-dl-chart-page">
<ui-expand-panel isShow="{{expand}}" info="{{total}}" title="{{title}}">
<ui-chart
...
...
frontend/src/images/Images.san
浏览文件 @
5a16e71a
...
...
@@ -142,6 +142,10 @@ export default {
autoAdjustHeight();
},
filterTagsList(groupNameReg) {
if (!groupNameReg) {
this.data.set('filteredTagsList', []);
return;
}
let tagsList = this.data.get('tagsList') || [];
let regExp = new RegExp(groupNameReg);
let filtedTagsList = tagsList.filter(item => regExp.test(item.tag));
...
...
frontend/src/scalars/Scalars.san
浏览文件 @
5a16e71a
...
...
@@ -147,6 +147,10 @@ export default {
},
filterTagsList(groupNameReg) {
if (!groupNameReg) {
this.data.set('filteredTagsList', []);
return;
}
let tagsList = this.data.get('tagsList') || [];
let regExp = new RegExp(groupNameReg);
let filtedTagsList = tagsList.filter(item => regExp.test(item.tag));
...
...
frontend/src/scalars/ui/chartPage.san
浏览文件 @
5a16e71a
...
...
@@ -61,6 +61,7 @@ export default {
return tagList.length;
}
},
initData() {
return {
// current page
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录