提交 4a179f5f 编写于 作者: L LDOUBLEV

refine status check

上级 58437e64
......@@ -29,7 +29,7 @@ gpu_precision_list=$(func_parser "${lines[11]}")
function status_check(){
last_status=$1 # 上个阶段的退出码
last_status=$1 # the exit code
run_model=$2
run_command=$3
save_log=$4
......
......@@ -57,7 +57,7 @@ gpu_precision_list=$(func_parser "${lines[11]}")
img_dir="./train_data/icdar2015/text_localization/ch4_test_images/"
function status_check(){
last_status=$1 # 上个阶段的退出码
last_status=$1 # the exit code
run_model=$2
run_command=$3
save_log=$4
......@@ -92,7 +92,7 @@ for train_model in ${train_model_list[*]}; do
else
launch="-m paddle.distributed.launch --log_dir=./debug/ --gpus ${gpu}"
fi
# echo "model_name: ${model_name} yml_file: ${yml_file} launch: ${launch} gpu: ${gpu}"
for auto_cast in ${auto_cast_list[*]}; do
for slim_trainer in ${slim_trainer_list[*]}; do
if [ ${slim_trainer} = "norm" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册