未验证 提交 4f41b19e 编写于 作者: Q Qiao Longfei 提交者: GitHub

Update version number (#168)

* update version-number
* update build and install doc
* add visit address
上级 a82c6854
...@@ -125,9 +125,16 @@ Board also supports the parameters below for remote access: ...@@ -125,9 +125,16 @@ Board also supports the parameters below for remote access:
- `--port` set port - `--port` set port
- `--model_pb` specify ONNX format for model file - `--model_pb` specify ONNX format for model file
### How to install from pypi
```
pip install --upgrade visualdl
```
### How to install ### How to build and install locally
``` ```
git clone https://github.com/PaddlePaddle/VisualDL.git
cd VisualDL
python setup.py bdist_wheel python setup.py bdist_wheel
pip install --upgrade dist/visualdl-*.whl pip install --upgrade dist/visualdl-*.whl
``` ```
...@@ -135,9 +142,10 @@ pip install --upgrade dist/visualdl-*.whl ...@@ -135,9 +142,10 @@ pip install --upgrade dist/visualdl-*.whl
### Run a demo from scratch ### Run a demo from scratch
``` ```
vdl_scratch.py vdl_scratch.py
visualDL --logdir=scratch_log visualDL --logdir=scratch_log --port=8080
``` ```
that will start a server locally. that will start a server locally on port 8080, then
you can visit http://127.0.0.1:8080 the see the visualdl board.
### Contribute ### Contribute
......
0.0.1 0.0.1-alpha
\ No newline at end of file
...@@ -6,7 +6,8 @@ readonly TOP_DIR=$(pwd) ...@@ -6,7 +6,8 @@ readonly TOP_DIR=$(pwd)
readonly core_path=$TOP_DIR/build/visualdl/logic readonly core_path=$TOP_DIR/build/visualdl/logic
readonly python_path=$TOP_DIR/visualdl/python readonly python_path=$TOP_DIR/visualdl/python
readonly max_file_size=1000000 # 1MB readonly max_file_size=1000000 # 1MB
readonly version_number=`cat VERSION_NUMBER` # version number follow the rule of https://semver.org/
readonly version_number=`cat VERSION_NUMBER | sed 's/\([0-9]*.[0-9]*.[0-9]*\).*/\1/g'`
sudo="sudo" sudo="sudo"
...@@ -42,7 +43,7 @@ package() { ...@@ -42,7 +43,7 @@ package() {
cd $TOP_DIR cd $TOP_DIR
python setup.py bdist_wheel python setup.py bdist_wheel
$sudo pip install dist/visualdl-${version_number}-*.whl $sudo pip install dist/visualdl-${version_number}*.whl
} }
backend_test() { backend_test() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册