提交 f7a554c2 编写于 作者: L LDOUBLEV

fix det_model_dir rec_model_dir Null

上级 81f2ccb1
......@@ -116,8 +116,12 @@ for train_model in ${train_model_list[*]}; do
if [ "${model_name}" = "det" ]; then
export rec_batch_size_list=( "1" )
inference="tools/infer/predict_det.py"
det_model_dir=${save_log}/export_inference/
rec_model_dir=""
elif [ "${model_name}" = "rec" ]; then
inference="tools/infer/predict_rec.py"
rec_model_dir=${save_log}/export_inference/
det_model_dir=""
fi
# inference
for device in ${devices[*]}; do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册