Skip to content

Commit 2b2eb8c

Browse files
jetfuelnickyfantasy
authored andcommitted
Use lower case visualdl as the executable. (#449)
1 parent 4484492 commit 2b2eb8c

19 files changed

+31
-31
lines changed

Dockerfile.demo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ WORKDIR /
55
COPY ./demo/vdl_create_scratch_log vdl_create_scratch_log
66
RUN python /vdl_create_scratch_log
77

8-
ENTRYPOINT ["visualDL", "--logdir=/scratch_log"]
8+
ENTRYPOINT ["visualdl", "--logdir=/scratch_log"]

README.cn.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pip install --upgrade visualdl
6262
6363
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
6464
vdl_create_scratch_log
65-
visualDL --logdir=scratch_log --port=8080
65+
visualdl --logdir=scratch_log --port=8080
6666
6767
# 访问 http://127.0.0.1:8080
6868
```
@@ -104,7 +104,7 @@ pip install --upgrade visualdl
104104
105105
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
106106
vdl_create_scratch_log
107-
visualDL --logdir=scratch_log --port=8080
107+
visualdl --logdir=scratch_log --port=8080
108108
109109
# 访问 http://127.0.0.1:8080
110110
```
@@ -136,7 +136,7 @@ pip install --upgrade visualdl
136136
137137
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
138138
vdl_create_scratch_log
139-
visualDL --logdir=scratch_log --port=8080
139+
visualdl --logdir=scratch_log --port=8080
140140
141141
# 访问 http://127.0.0.1:8080
142142
```
@@ -212,7 +212,7 @@ int main() {
212212
当训练过程中已经产生了日志数据,就可以启动board进行实时预览可视化信息
213213
214214
```
215-
visualDL --logdir <some log dir>
215+
visualdl --logdir <some log dir>
216216
```
217217
218218
board 还支持一下参数来实现远程的访问:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pip install --upgrade visualdl
112112
113113
# run a demo, vdl_create_scratch_log will create logs for testing.
114114
vdl_create_scratch_log
115-
visualDL --logdir=scratch_log --port=8080
115+
visualdl --logdir=scratch_log --port=8080
116116
117117
# visit http://127.0.0.1:8080
118118
```
@@ -145,7 +145,7 @@ pip install --upgrade visualdl
145145
146146
# run a demo, vdl_create_scratch_log will create logs for testing.
147147
vdl_create_scratch_log
148-
visualDL --logdir=scratch_log --port=8080
148+
visualdl --logdir=scratch_log --port=8080
149149
150150
# visit http://127.0.0.1:8080
151151
```
@@ -226,7 +226,7 @@ After some logs have been generated during training, users can launch Visual DL
226226
227227
228228
```
229-
visualDL --logdir <some log dir>
229+
visualdl --logdir <some log dir>
230230
```
231231
232232
visualDL also supports following optional parameters:

demo/mxnet/TUTORIAL_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ VisualDL的一个优点是能可视化深度学习模型,帮助用户更直观
6969
VisualDL的使用很简单,在完成安装后只需要把模型文件(protobuf格式)用参数 -m 提供给VisualDL即可。
7070

7171
```bash
72-
visualDL --logdir=/workspace -m /workspace/super_resolution_mnist.onnx --port=8888
72+
visualdl --logdir=/workspace -m /workspace/super_resolution_mnist.onnx --port=8888
7373
```
7474

7575
模型图的效果如下:

demo/mxnet/TUTORIAL_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Here we use the existing model that has been transformed from MXNet to ONNX, [Su
7474
To display the model graph via VisualDL, pass the model file path with the parameter -m to the VisualDL
7575

7676
```bash
77-
visualDL --logdir=/workspace -m /workspace/super_resolution_mnist.onnx --port=8888
77+
visualdl --logdir=/workspace -m /workspace/super_resolution_mnist.onnx --port=8888
7878
```
7979

8080
The model graph is as follows:

demo/pytorch/embedding_tutorial_ch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ embedding.add_embeddings_with_word_dict(embeddings_list, word_to_ix)
121121
将上述代码嵌入到您的embedding训练程序中,
122122
这将 embedding 和 word_dict 保存到 `./embedding_log` 文件夹中。
123123

124-
现在我们可以用 `visualDL --logdir=./embedding_log` 执行VisualDL,
124+
现在我们可以用 `visualdl --logdir=./embedding_log` 执行VisualDL,
125125
使用浏览器导航到 `localhost:8080`,切换到 `High Dimensional`
126126

127127
你可以下载教程代码 [这里](https://github.com/PaddlePaddle/VisualDL/blob/develop/demo/pytorch/pytorch_word2vec.py)

demo/pytorch/embedding_tutorial_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Insert the above code snippet into your embedding training program.
127127

128128
This will save the embeddings and the word dictionary to the `./embedding_log` folder.
129129

130-
We can now activate the VisualDL by running `visualDL --logdir=./embedding_log`.
130+
We can now activate the VisualDL by running `visualdl --logdir=./embedding_log`.
131131
Use your browser to navigate to `localhost:8080`, switch the tab to `High Dimensional`
132132

133133
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ VisualDL有三个功能模块.
3232
任何在 ```server``` 文件夹里代码的改动,都可以通过运行以下命令
3333

3434
```
35-
python visualdl/server/visualDL --logdir={LOG_DIR} --port=8080
35+
python visualdl/server/visualdl --logdir={LOG_DIR} --port=8080
3636
```
3737
来重启 Flask 服务器
3838

@@ -88,7 +88,7 @@ make vl_test
8888
- 采用轻量级 Flask 框架来搭建服务器并提供以下两种服务
8989
- 搭建主程序来支持前端应用
9090
- 提供一系列 HTTP 访问点,通过返回的 JSON 来和前端沟通
91-
- ```visualDL``` : 主程序入口
91+
- ```visualdl``` : 主程序入口
9292
- 定义了服务器参数
9393
- 给前端提供 API 和 路由匹配
9494
- ```lib.py``` : 调用库函数的入口

docs/develop/how_to_dev_backend_en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ All backend and sdk logic is under visualdl sub directory
3232
Any code changes in ```server``` folder, simply run
3333

3434
```
35-
python visualdl/server/visualDL --logdir={LOG_DIR} --port=8080
35+
python visualdl/server/visualdl --logdir={LOG_DIR} --port=8080
3636
```
3737
to restart flask server
3838

@@ -87,7 +87,7 @@ make vl_test
8787
- Implement a server using a lightweight framework Flask, provides two services:
8888
- Host a main application with support of a front end web app
8989
- Provide a series of HTTP end points, using JSON for front end data communication
90-
- ```visualDL``` : main app entry point
90+
- ```visualdl``` : main app entry point
9191
- defines server arguments and config
9292
- provides API and router for front end
9393
- ```lib.py``` : delegate wrapper for function calls

docs/getting_started/installation_cn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pip install --upgrade visualdl
99
1010
# run a demo, vdl_create_scratch_log will create logs for testing.
1111
vdl_create_scratch_log
12-
visualDL --logdir=scratch_log --port=8080
12+
visualdl --logdir=scratch_log --port=8080
1313
1414
# visit http://127.0.0.1:8080
1515
```
@@ -51,7 +51,7 @@ pip install --upgrade visualdl
5151
5252
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
5353
vdl_create_scratch_log
54-
visualDL --logdir=scratch_log --port=8080
54+
visualdl --logdir=scratch_log --port=8080
5555
5656
# 访问 http://127.0.0.1:8080
5757
```
@@ -83,7 +83,7 @@ pip install --upgrade visualdl
8383
8484
# 运行一个例子,vdl_create_scratch_log 将创建测试日志
8585
vdl_create_scratch_log
86-
visualDL --logdir=scratch_log --port=8080
86+
visualdl --logdir=scratch_log --port=8080
8787
8888
# 访问 http://127.0.0.1:8080
8989
```

0 commit comments

Comments
 (0)