mirror of
https://github.com/PaddlePaddle/PaddleClas.git
synced 2025-06-03 21:55:06 +08:00
tipc: fix the inference model name
This commit is contained in:
parent
b3ab418e80
commit
be434dc66c
@ -166,8 +166,8 @@ if [ ${kl_quant_cmd_value} != "null" ] && [ ${kl_quant_cmd_value} != "False" ];
|
|||||||
last_status=${PIPESTATUS[0]}
|
last_status=${PIPESTATUS[0]}
|
||||||
status_check $last_status "${command}" "${status_log}" "${model_name}" "${_kl_log}"
|
status_check $last_status "${command}" "${status_log}" "${model_name}" "${_kl_log}"
|
||||||
cd ${infer_model_dir_list}/quant_post_static_model
|
cd ${infer_model_dir_list}/quant_post_static_model
|
||||||
ln -s __model__ inference.pdmodel
|
ln -s model.pdmodel inference.pdmodel
|
||||||
ln -s __params__ inference.pdiparams
|
ln -s model.pdiparams inference.pdiparams
|
||||||
cd ../../deploy
|
cd ../../deploy
|
||||||
is_quant=True
|
is_quant=True
|
||||||
func_inference "${python}" "${inference_py}" "../${infer_model_dir_list}/quant_post_static_model" "${LOG_PATH}" "${infer_img_dir}" ${is_quant}
|
func_inference "${python}" "${inference_py}" "../${infer_model_dir_list}/quant_post_static_model" "${LOG_PATH}" "${infer_img_dir}" ${is_quant}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user