未验证 提交 9ddbed9a 编写于 作者: N Nicky Chan 提交者: GitHub

Add install by sources section and a link to dev server (#412)

上级 5d8cb7f9
......@@ -113,7 +113,7 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
visualdl --logdir=scratch_log --port=8080
visualDL --logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
```
......@@ -146,11 +146,27 @@ pip install --upgrade visualdl
# run a demo, vdl_create_scratch_log will create logs for testing.
vdl_create_scratch_log
visualdl --logdir=scratch_log --port=8080
visualDL --logdir=scratch_log --port=8080
# visit http://127.0.0.1:8080
```
If you still have issues installing VisualDL, try installing from sources as in following section.
### Install from source
```
#Preferably under a virtualenv or anaconda.
git clone https://github.com/PaddlePaddle/VisualDL.git
cd VisualDL
python setup.py bdist_wheel
pip install --upgrade dist/visualdl-*.whl
```
If there are still issues regarding the ```pip install```, you can still start Visual DL by starting the dev server
[here](https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/how_to_dev_frontend_en.md)
## SDK
VisualDL provides both Python SDK and C++ SDK in order to fit more use cases.
......@@ -211,10 +227,10 @@ After some logs have been generated during training, users can launch Visual DL
```
visualdl --logdir <some log dir>
visualDL --logdir <some log dir>
```
visualdl also supports following optional parameters:
visualDL also supports following optional parameters:
- `--host` set IP
- `--port` set port
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册