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

tweak the script so the user doesn't need to specify abs path to the logdir. (#240)

上级 a34ae603
#!/bin/bash
set -ex
CURRENT_DIR=`pwd`
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/../frontend
......@@ -8,5 +10,5 @@ cd $SCRIPT_DIR/../frontend
export PYTHON_PATH=$PYTHON_PATH:"$SCRIPT_DIR/.."
cd $SCRIPT_DIR/../visualdl/server
python visualDL "$@"
cd $CURRENT_DIR
python ${SCRIPT_DIR}/../visualdl/server/visualDL "$@"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册