From 9ddbed9a27d145ba764e8c2792045c5ddc01ffa0 Mon Sep 17 00:00:00 2001 From: Nicky Chan Date: Wed, 18 Apr 2018 19:48:53 -0700 Subject: [PATCH] Add install by sources section and a link to dev server (#412) --- README.md | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3187b486..27531ae6 100644 --- a/README.md +++ b/README.md @@ -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 +visualDL --logdir ``` -visualdl also supports following optional parameters: +visualDL also supports following optional parameters: - `--host` set IP - `--port` set port -- GitLab