Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
VisualDL
提交
2b2eb8cd
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看板
提交
2b2eb8cd
编写于
7月 05, 2018
作者:
J
Jeff Wang
提交者:
Nicky Chan
7月 05, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use lower case visualdl as the executable. (#449)
上级
4484492f
变更
19
显示空白变更内容
内联
并排
Showing
19 changed file
with
31 addition
and
31 deletion
+31
-31
Dockerfile.demo
Dockerfile.demo
+1
-1
README.cn.md
README.cn.md
+4
-4
README.md
README.md
+3
-3
demo/mxnet/TUTORIAL_CN.md
demo/mxnet/TUTORIAL_CN.md
+1
-1
demo/mxnet/TUTORIAL_EN.md
demo/mxnet/TUTORIAL_EN.md
+1
-1
demo/pytorch/embedding_tutorial_ch.md
demo/pytorch/embedding_tutorial_ch.md
+1
-1
demo/pytorch/embedding_tutorial_en.md
demo/pytorch/embedding_tutorial_en.md
+1
-1
docs/develop/how_to_dev_backend_cn.md
docs/develop/how_to_dev_backend_cn.md
+2
-2
docs/develop/how_to_dev_backend_en.md
docs/develop/how_to_dev_backend_en.md
+2
-2
docs/getting_started/installation_cn.md
docs/getting_started/installation_cn.md
+3
-3
docs/getting_started/installation_en.md
docs/getting_started/installation_en.md
+3
-3
docs/getting_started/introduction_cn.md
docs/getting_started/introduction_cn.md
+1
-1
docs/getting_started/introduction_en.md
docs/getting_started/introduction_en.md
+1
-1
docs/getting_started/quick_start_cn.md
docs/getting_started/quick_start_cn.md
+2
-2
docs/getting_started/quick_start_en.md
docs/getting_started/quick_start_en.md
+2
-2
scripts/start_demo_server.sh
scripts/start_demo_server.sh
+1
-1
scripts/start_dev_server.sh
scripts/start_dev_server.sh
+1
-1
setup.py
setup.py
+1
-1
visualdl/server/visualdl
visualdl/server/visualdl
+0
-0
未找到文件。
Dockerfile.demo
浏览文件 @
2b2eb8cd
...
@@ -5,4 +5,4 @@ WORKDIR /
...
@@ -5,4 +5,4 @@ WORKDIR /
COPY ./demo/vdl_create_scratch_log vdl_create_scratch_log
COPY ./demo/vdl_create_scratch_log vdl_create_scratch_log
RUN python /vdl_create_scratch_log
RUN python /vdl_create_scratch_log
ENTRYPOINT ["visualDL", "--logdir=/scratch_log"]
ENTRYPOINT ["visualdl", "--logdir=/scratch_log"]
\ No newline at end of file
\ No newline at end of file
README.cn.md
浏览文件 @
2b2eb8cd
...
@@ -62,7 +62,7 @@ pip install --upgrade visualdl
...
@@ -62,7 +62,7 @@ pip install --upgrade visualdl
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# 访问 http://127.0.0.1:8080
# 访问 http://127.0.0.1:8080
```
```
...
@@ -104,7 +104,7 @@ pip install --upgrade visualdl
...
@@ -104,7 +104,7 @@ pip install --upgrade visualdl
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# 访问 http://127.0.0.1:8080
# 访问 http://127.0.0.1:8080
```
```
...
@@ -136,7 +136,7 @@ pip install --upgrade visualdl
...
@@ -136,7 +136,7 @@ pip install --upgrade visualdl
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# 访问 http://127.0.0.1:8080
# 访问 http://127.0.0.1:8080
```
```
...
@@ -212,7 +212,7 @@ int main() {
...
@@ -212,7 +212,7 @@ int main() {
当训练过程中已经产生了日志数据,就可以启动board进行实时预览可视化信息
当训练过程中已经产生了日志数据,就可以启动board进行实时预览可视化信息
```
```
visual
DL
--logdir
<some
log
dir
>
visual
dl
--logdir
<some
log
dir
>
```
```
board 还支持一下参数来实现远程的访问:
board 还支持一下参数来实现远程的访问:
...
...
README.md
浏览文件 @
2b2eb8cd
...
@@ -112,7 +112,7 @@ pip install --upgrade visualdl
...
@@ -112,7 +112,7 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
# visit http://127.0.0.1:8080
```
```
...
@@ -145,7 +145,7 @@ pip install --upgrade visualdl
...
@@ -145,7 +145,7 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
# visit http://127.0.0.1:8080
```
```
...
@@ -226,7 +226,7 @@ After some logs have been generated during training, users can launch Visual DL
...
@@ -226,7 +226,7 @@ After some logs have been generated during training, users can launch Visual DL
```
```
visual
DL
--logdir
<some
log
dir
>
visual
dl
--logdir
<some
log
dir
>
```
```
visualDL also supports following optional parameters:
visualDL also supports following optional parameters:
...
...
demo/mxnet/TUTORIAL_CN.md
浏览文件 @
2b2eb8cd
...
@@ -69,7 +69,7 @@ VisualDL的一个优点是能可视化深度学习模型,帮助用户更直观
...
@@ -69,7 +69,7 @@ VisualDL的一个优点是能可视化深度学习模型,帮助用户更直观
VisualDL的使用很简单,在完成安装后只需要把模型文件(protobuf格式)用参数 -m 提供给VisualDL即可。
VisualDL的使用很简单,在完成安装后只需要把模型文件(protobuf格式)用参数 -m 提供给VisualDL即可。
```
bash
```
bash
visual
DL
--logdir
=
/workspace
-m
/workspace/super_resolution_mnist.onnx
--port
=
8888
visual
dl
--logdir
=
/workspace
-m
/workspace/super_resolution_mnist.onnx
--port
=
8888
```
```
模型图的效果如下:
模型图的效果如下:
...
...
demo/mxnet/TUTORIAL_EN.md
浏览文件 @
2b2eb8cd
...
@@ -74,7 +74,7 @@ Here we use the existing model that has been transformed from MXNet to ONNX, [Su
...
@@ -74,7 +74,7 @@ Here we use the existing model that has been transformed from MXNet to ONNX, [Su
To display the model graph via VisualDL, pass the model file path with the parameter -m to the VisualDL
To display the model graph via VisualDL, pass the model file path with the parameter -m to the VisualDL
```
bash
```
bash
visual
DL
--logdir
=
/workspace
-m
/workspace/super_resolution_mnist.onnx
--port
=
8888
visual
dl
--logdir
=
/workspace
-m
/workspace/super_resolution_mnist.onnx
--port
=
8888
```
```
The model graph is as follows:
The model graph is as follows:
...
...
demo/pytorch/embedding_tutorial_ch.md
浏览文件 @
2b2eb8cd
...
@@ -121,7 +121,7 @@ embedding.add_embeddings_with_word_dict(embeddings_list, word_to_ix)
...
@@ -121,7 +121,7 @@ embedding.add_embeddings_with_word_dict(embeddings_list, word_to_ix)
将上述代码嵌入到您的embedding训练程序中,
将上述代码嵌入到您的embedding训练程序中,
这将 embedding 和 word_dict 保存到
`./embedding_log`
文件夹中。
这将 embedding 和 word_dict 保存到
`./embedding_log`
文件夹中。
现在我们可以用
`visual
DL
--logdir=./embedding_log`
执行VisualDL,
现在我们可以用
`visual
dl
--logdir=./embedding_log`
执行VisualDL,
使用浏览器导航到
`localhost:8080`
,切换到
`High Dimensional`
。
使用浏览器导航到
`localhost:8080`
,切换到
`High Dimensional`
。
你可以下载教程代码
[
这里
](
https://github.com/PaddlePaddle/VisualDL/blob/develop/demo/pytorch/pytorch_word2vec.py
)
。
你可以下载教程代码
[
这里
](
https://github.com/PaddlePaddle/VisualDL/blob/develop/demo/pytorch/pytorch_word2vec.py
)
。
demo/pytorch/embedding_tutorial_en.md
浏览文件 @
2b2eb8cd
...
@@ -127,7 +127,7 @@ Insert the above code snippet into your embedding training program.
...
@@ -127,7 +127,7 @@ Insert the above code snippet into your embedding training program.
This will save the embeddings and the word dictionary to the
`./embedding_log`
folder.
This will save the embeddings and the word dictionary to the
`./embedding_log`
folder.
We can now activate the VisualDL by running
`visual
DL
--logdir=./embedding_log`
.
We can now activate the VisualDL by running
`visual
dl
--logdir=./embedding_log`
.
Use your browser to navigate to
`localhost:8080`
, switch the tab to
`High Dimensional`
Use your browser to navigate to
`localhost:8080`
, switch the tab to
`High Dimensional`
You can download the tutorial code
[
here
](
https://github.com/PaddlePaddle/VisualDL/blob/develop/demo/pytorch/pytorch_word2vec.py
)
.
You can download the tutorial code
[
here
](
https://github.com/PaddlePaddle/VisualDL/blob/develop/demo/pytorch/pytorch_word2vec.py
)
.
docs/develop/how_to_dev_backend_cn.md
浏览文件 @
2b2eb8cd
...
@@ -32,7 +32,7 @@ VisualDL有三个功能模块.
...
@@ -32,7 +32,7 @@ VisualDL有三个功能模块.
任何在
```server```
文件夹里代码的改动,都可以通过运行以下命令
任何在
```server```
文件夹里代码的改动,都可以通过运行以下命令
```
```
python visualdl/server/visual
DL
--logdir={LOG_DIR} --port=8080
python visualdl/server/visual
dl
--logdir={LOG_DIR} --port=8080
```
```
来重启 Flask 服务器
来重启 Flask 服务器
...
@@ -88,7 +88,7 @@ make vl_test
...
@@ -88,7 +88,7 @@ make vl_test
-
采用轻量级 Flask 框架来搭建服务器并提供以下两种服务
-
采用轻量级 Flask 框架来搭建服务器并提供以下两种服务
-
搭建主程序来支持前端应用
-
搭建主程序来支持前端应用
-
提供一系列 HTTP 访问点,通过返回的 JSON 来和前端沟通
-
提供一系列 HTTP 访问点,通过返回的 JSON 来和前端沟通
-
```visual
DL
```
: 主程序入口
-
```visual
dl
```
: 主程序入口
-
定义了服务器参数
-
定义了服务器参数
-
给前端提供 API 和 路由匹配
-
给前端提供 API 和 路由匹配
-
```lib.py```
: 调用库函数的入口
-
```lib.py```
: 调用库函数的入口
...
...
docs/develop/how_to_dev_backend_en.md
浏览文件 @
2b2eb8cd
...
@@ -32,7 +32,7 @@ All backend and sdk logic is under visualdl sub directory
...
@@ -32,7 +32,7 @@ All backend and sdk logic is under visualdl sub directory
Any code changes in
```server```
folder, simply run
Any code changes in
```server```
folder, simply run
```
```
python visualdl/server/visual
DL
--logdir={LOG_DIR} --port=8080
python visualdl/server/visual
dl
--logdir={LOG_DIR} --port=8080
```
```
to restart flask server
to restart flask server
...
@@ -87,7 +87,7 @@ make vl_test
...
@@ -87,7 +87,7 @@ make vl_test
-
Implement a server using a lightweight framework Flask, provides two services:
-
Implement a server using a lightweight framework Flask, provides two services:
-
Host a main application with support of a front end web app
-
Host a main application with support of a front end web app
-
Provide a series of HTTP end points, using JSON for front end data communication
-
Provide a series of HTTP end points, using JSON for front end data communication
-
```visual
DL
```
: main app entry point
-
```visual
dl
```
: main app entry point
-
defines server arguments and config
-
defines server arguments and config
-
provides API and router for front end
-
provides API and router for front end
-
```lib.py```
: delegate wrapper for function calls
-
```lib.py```
: delegate wrapper for function calls
...
...
docs/getting_started/installation_cn.md
浏览文件 @
2b2eb8cd
...
@@ -9,7 +9,7 @@ pip install --upgrade visualdl
...
@@ -9,7 +9,7 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
# visit http://127.0.0.1:8080
```
```
...
@@ -51,7 +51,7 @@ pip install --upgrade visualdl
...
@@ -51,7 +51,7 @@ pip install --upgrade visualdl
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# 访问 http://127.0.0.1:8080
# 访问 http://127.0.0.1:8080
```
```
...
@@ -83,7 +83,7 @@ pip install --upgrade visualdl
...
@@ -83,7 +83,7 @@ pip install --upgrade visualdl
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# 访问 http://127.0.0.1:8080
# 访问 http://127.0.0.1:8080
```
```
...
...
docs/getting_started/installation_en.md
浏览文件 @
2b2eb8cd
...
@@ -8,7 +8,7 @@ pip install --upgrade visualdl
...
@@ -8,7 +8,7 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
# visit http://127.0.0.1:8080
```
```
...
@@ -52,7 +52,7 @@ pip install --upgrade visualdl
...
@@ -52,7 +52,7 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
# visit http://127.0.0.1:8080
```
```
...
@@ -85,7 +85,7 @@ pip install --upgrade visualdl
...
@@ -85,7 +85,7 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
vdl_create_scratch_log
visual
DL
--logdir=scratch_log --port=8080
visual
dl
--logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
# visit http://127.0.0.1:8080
```
```
...
...
docs/getting_started/introduction_cn.md
浏览文件 @
2b2eb8cd
...
@@ -46,7 +46,7 @@ for step in steps:
...
@@ -46,7 +46,7 @@ for step in steps:
-
启动visualdl service即可通过浏览器查看日志的可视化结果。
-
启动visualdl service即可通过浏览器查看日志的可视化结果。
```
shell
```
shell
visual
DL
--logdir
./log
--port
8080
visual
dl
--logdir
./log
--port
8080
```
```
### 功能全
### 功能全
1.
Scalar. 支持Scalar打点数据展示,如上图所示:
1.
Scalar. 支持Scalar打点数据展示,如上图所示:
...
...
docs/getting_started/introduction_en.md
浏览文件 @
2b2eb8cd
...
@@ -48,7 +48,7 @@ for step in steps:
...
@@ -48,7 +48,7 @@ for step in steps:
-
Launch Visual DL service and you can see the visualization results.
-
Launch Visual DL service and you can see the visualization results.
```
shell
```
shell
visual
DL
--logdir
./log
--port
8080
visual
dl
--logdir
./log
--port
8080
```
```
### Comprehensive Usability
### Comprehensive Usability
...
...
docs/getting_started/quick_start_cn.md
浏览文件 @
2b2eb8cd
...
@@ -56,7 +56,7 @@ for step in range(200):
...
@@ -56,7 +56,7 @@ for step in range(200):
上述例子生成了一段随机日志,接下来可以打开board页面:
上述例子生成了一段随机日志,接下来可以打开board页面:
```
```
visual
DL
--logdir ./random_log --port 8080
visual
dl
--logdir ./random_log --port 8080
```
```
之后用浏览器打开地址
`http://0.0.0.0:8080`
,就可以看到scalar下的可视化结果
之后用浏览器打开地址
`http://0.0.0.0:8080`
,就可以看到scalar下的可视化结果
...
@@ -86,7 +86,7 @@ VisualDL 的 C++ SDK 与 Python 的基本一致,上面Python示例对应的C++
...
@@ -86,7 +86,7 @@ VisualDL 的 C++ SDK 与 Python 的基本一致,上面Python示例对应的C++
VisualDL 支持开源的
[
ONNX
](
https://github.com/onnx/onnx
)
模型结构的可视化,目前ONNX支持包括
`pytorch`
,
`Caffe2`
,
`Caffe`
,
`MxNet`
在内的多种深度学习平台的模型结构的转化。
VisualDL 支持开源的
[
ONNX
](
https://github.com/onnx/onnx
)
模型结构的可视化,目前ONNX支持包括
`pytorch`
,
`Caffe2`
,
`Caffe`
,
`MxNet`
在内的多种深度学习平台的模型结构的转化。
```
```
visual
DL
--logdir somedir --model_pb <path_to_model>
visual
dl
--logdir somedir --model_pb <path_to_model>
```
```
比如mnist,会得到如下graph
比如mnist,会得到如下graph
...
...
docs/getting_started/quick_start_en.md
浏览文件 @
2b2eb8cd
...
@@ -62,7 +62,7 @@ for step in range(200):
...
@@ -62,7 +62,7 @@ for step in range(200):
The example above randomly generated some logs. Next we can open the board page:
The example above randomly generated some logs. Next we can open the board page:
```
```
visual
DL
--logdir ./random_log --port 8080
visual
dl
--logdir ./random_log --port 8080
```
```
Point your browser to
`http://0.0.0.0:8080`
, you can see the scalar as follows:
Point your browser to
`http://0.0.0.0:8080`
, you can see the scalar as follows:
...
@@ -93,7 +93,7 @@ VisualDL supports the visualization for the format in [ONNX](https://github.com/
...
@@ -93,7 +93,7 @@ VisualDL supports the visualization for the format in [ONNX](https://github.com/
Currently, ONNX supports format conversion among various deep learning frameworks such as
`MXNet`
,
`PyTorch`
,
`Caffe2`
,
`Caffe`
.
Currently, ONNX supports format conversion among various deep learning frameworks such as
`MXNet`
,
`PyTorch`
,
`Caffe2`
,
`Caffe`
.
```
```
visual
DL
--logdir somedir --model_pb <path_to_model>
visual
dl
--logdir somedir --model_pb <path_to_model>
```
```
For example, for the MNIST dataset, Graph component can render model graph as below:
For example, for the MNIST dataset, Graph component can render model graph as below:
...
...
scripts/start_demo_server.sh
浏览文件 @
2b2eb8cd
...
@@ -26,4 +26,4 @@ trap finish EXIT HUP INT QUIT PIPE TERM
...
@@ -26,4 +26,4 @@ trap finish EXIT HUP INT QUIT PIPE TERM
cd
$CURRENT_DIR
cd
$CURRENT_DIR
# Run the visualDL with local PATH
# Run the visualDL with local PATH
python
${
SCRIPT_DIR
}
/../visualdl/server/visual
DL
"
$@
"
python
${
SCRIPT_DIR
}
/../visualdl/server/visual
dl
"
$@
"
scripts/start_dev_server.sh
浏览文件 @
2b2eb8cd
...
@@ -25,4 +25,4 @@ trap finish EXIT HUP INT QUIT PIPE TERM
...
@@ -25,4 +25,4 @@ trap finish EXIT HUP INT QUIT PIPE TERM
cd
$CURRENT_DIR
cd
$CURRENT_DIR
#Run the visualDL with local PATH
#Run the visualDL with local PATH
python
${
SCRIPT_DIR
}
/../visualdl/server/visual
DL
"
$@
"
python
${
SCRIPT_DIR
}
/../visualdl/server/visual
dl
"
$@
"
setup.py
浏览文件 @
2b2eb8cd
...
@@ -103,7 +103,7 @@ libraries = ['core.so']
...
@@ -103,7 +103,7 @@ libraries = ['core.so']
if
platform
==
'win32'
:
if
platform
==
'win32'
:
libraries
=
[
'core.pyd'
,
'libprotobuf.dll'
]
libraries
=
[
'core.pyd'
,
'libprotobuf.dll'
]
scripts
=
[
'visualdl/server/visual
DL
'
,
'demo/vdl_create_scratch_log'
]
scripts
=
[
'visualdl/server/visual
dl
'
,
'demo/vdl_create_scratch_log'
]
if
platform
==
'win32'
:
if
platform
==
'win32'
:
scripts
.
append
(
'visualdl/server/visualDL.bat'
)
scripts
.
append
(
'visualdl/server/visualDL.bat'
)
...
...
visualdl/server/visual
DL
→
visualdl/server/visual
dl
浏览文件 @
2b2eb8cd
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录