未验证 提交 1574cc02 编写于 作者: J Jeff Wang 提交者: GitHub

rename vdl_scratch.py to vdl_create_scratch_log (#259)

* rename vdl_scratch.py to vdl_create_scratch_log

* Simply replace the vdl_scratch.py
上级 ef48ef34
...@@ -61,8 +61,8 @@ VisualDL 目前支持4种组件: ...@@ -61,8 +61,8 @@ VisualDL 目前支持4种组件:
# 安装,建議是在虛擬環境下。 # 安装,建議是在虛擬環境下。
pip install --upgrade visualdl pip install --upgrade visualdl
# 运行一个例子,vdl_scratch.py将创建测试日志 # 运行一个例子,vdl_create_scratch_log 将创建测试日志
vdl_scratch.py vdl_create_scratch_log
visualDL --logdir=scratch_log --port=8080 visualDL --logdir=scratch_log --port=8080
# 访问 http://127.0.0.1:8080 # 访问 http://127.0.0.1:8080
......
...@@ -68,8 +68,8 @@ To give the VisualDL a quick test, please use the following commands. ...@@ -68,8 +68,8 @@ To give the VisualDL a quick test, please use the following commands.
# Install the VisualDL. Preferably under a virtual environment. # Install the VisualDL. Preferably under a virtual environment.
pip install --upgrade visualdl pip install --upgrade visualdl
# run a demo, vdl_scratch.py will create logs for testing. # run a demo, vdl_create_scratch_log will create logs for testing.
vdl_scratch.py vdl_create_scratch_log
visualDL --logdir=scratch_log --port=8080 visualDL --logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080 # visit http://127.0.0.1:8080
......
...@@ -93,5 +93,5 @@ setup( ...@@ -93,5 +93,5 @@ setup(
}, },
packages=packages, packages=packages,
ext_modules=[Extension('_foo', ['stub.cc'])], ext_modules=[Extension('_foo', ['stub.cc'])],
scripts=['visualdl/server/visualDL', 'demo/vdl_scratch.py'], scripts=['visualdl/server/visualDL', 'demo/vdl_create_scratch_log'],
cmdclass=cmdclass) cmdclass=cmdclass)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册