diff --git a/test/test.sh b/test/test.sh index 1e6cf415b4dbc1675bd3f71295ca93e66f63bc11..d3e6c16f4563a67e810155bc6d7363cc0656be02 100644 --- a/test/test.sh +++ b/test/test.sh @@ -94,7 +94,7 @@ function func_inference(){ _save_log_path="${_log_path}/${_model_name}_infer_cpu_usemkldnn_${use_mkldnn}_threads_${threads}_batchsize_${batch_size}.log" command="${_python} ${_script} -o ${use_gpu_key}=${use_gpu} -o ${use_mkldnn_key}=${use_mkldnn} -o ${cpu_threads_key}=${threads} -o ${infer_model_key}=${_model_dir} -o ${batch_size_key}=${batch_size} -o ${image_dir_key}=${_img_dir} -o ${save_log_key}=${_save_log_path} -o benchmark=True -o Global.model_name=${_model_name}" eval $command - status_check $? "${command}" "${status_log}" + status_check $? "${command}" "../${status_log}" done done done @@ -108,7 +108,7 @@ function func_inference(){ _save_log_path="${_log_path}/${_model_name}_infer_gpu_usetrt_${use_trt}_precision_${precision}_batchsize_${batch_size}.log" command="${_python} ${_script} -o ${use_gpu_key}=${use_gpu} -o ${use_trt_key}=${use_trt} -o ${precision_key}=${precision} -o ${infer_model_key}=${_model_dir} -o ${batch_size_key}=${batch_size} -o ${image_dir_key}=${_img_dir} -o ${save_log_key}=${_save_log_path} -o benchmark=True -o Global.model_name=${_model_name}" eval $command - status_check $? "${command}" "${status_log}" + status_check $? "${command}" "../${status_log}" done done done