Skip to content

Commit

Permalink
fix tipc log (#3337)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengya01 authored Sep 21, 2022
1 parent 17ca23a commit 7708822
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_tipc/test_train_inference_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,11 @@ else
fi
# run train
eval $cmd
last_status=${PIPESTATUS[0]}
if [ ${#gpu} -ge 2 ];then
cat ${WORK_PATH}/log/workerlog.0 > ${_train_log}
fi
status_check $? "${cmd}" "${status_log}" "${model_name}" "${_train_log}"
status_check ${last_status} "${cmd}" "${status_log}" "${model_name}" "${_train_log}"

set_eval_pretrain=$(func_set_params "${pretrain_model_key}" "${save_log}/${train_model_name}")

Expand Down

0 comments on commit 7708822

Please sign in to comment.