From c83f579918e1f79f3c7f8bba0c131e006a29461f Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Tue, 25 Jan 2022 19:45:30 +0800 Subject: [PATCH] fix bug --- test_tipc/test_train_inference_python.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_tipc/test_train_inference_python.sh b/test_tipc/test_train_inference_python.sh index 9bde89d7..4ad83c66 100644 --- a/test_tipc/test_train_inference_python.sh +++ b/test_tipc/test_train_inference_python.sh @@ -284,7 +284,6 @@ else set_amp_config=" " fi for trainer in ${trainer_list[*]}; do - eval ${env} flag_quant=False if [ ${trainer} = ${pact_key} ]; then run_train=${pact_trainer} @@ -344,6 +343,7 @@ else # run eval if [ ${eval_py} != "null" ]; then + eval ${env} set_eval_params1=$(func_set_params "${eval_key1}" "${eval_value1}") eval_cmd="${python} ${eval_py} ${set_eval_pretrain} ${set_use_gpu} ${set_eval_params1}" eval $eval_cmd -- GitLab