提交 2bcf8250 编写于 作者: D dongshuilong

update test_tipc/benchmark_train.sh

上级 33e8e834
...@@ -3,8 +3,6 @@ source test_tipc/common_func.sh ...@@ -3,8 +3,6 @@ source test_tipc/common_func.sh
# set env # set env
python=python python=python
export model_branch=`git symbolic-ref HEAD 2>/dev/null | cut -d"/" -f 3`
export model_commit=$(git log|head -n1|awk '{print $2}')
export str_tmp=$(echo `pip list|grep paddlepaddle-gpu|awk -F ' ' '{print $2}'`) export str_tmp=$(echo `pip list|grep paddlepaddle-gpu|awk -F ' ' '{print $2}'`)
export frame_version=${str_tmp%%.post*} export frame_version=${str_tmp%%.post*}
export frame_commit=$(echo `${python} -c "import paddle;print(paddle.version.commit)"`) export frame_commit=$(echo `${python} -c "import paddle;print(paddle.version.commit)"`)
...@@ -255,7 +253,7 @@ for batch_size in ${batch_size_list[*]}; do ...@@ -255,7 +253,7 @@ for batch_size in ${batch_size_list[*]}; do
done done
done done
done done
cd train_log
mkdir train_log mkdir train_log
mv Paddle* train_log/ mv Paddle* train_log/
cd .. cd ..
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册