From dbdb6afb7a511bfed2fcdda6a2404f433e82feee Mon Sep 17 00:00:00 2001 From: cuicheng01 Date: Thu, 18 Nov 2021 04:37:42 +0000 Subject: [PATCH] update tipc lite --- deploy/lite/ocr_db_crnn.cc | 1 - test_tipc/test_lite_arm_cpp.sh | 3 --- 2 files changed, 4 deletions(-) diff --git a/deploy/lite/ocr_db_crnn.cc b/deploy/lite/ocr_db_crnn.cc index 0de953a4..1ffbbacb 100644 --- a/deploy/lite/ocr_db_crnn.cc +++ b/deploy/lite/ocr_db_crnn.cc @@ -332,7 +332,6 @@ std::shared_ptr loadModel(std::string model_file, int num_threa config.set_model_from_file(model_file); config.set_threads(num_threads); - std::cout< predictor = CreatePaddlePredictor(config); return predictor; diff --git a/test_tipc/test_lite_arm_cpp.sh b/test_tipc/test_lite_arm_cpp.sh index f119c164..c071a236 100644 --- a/test_tipc/test_lite_arm_cpp.sh +++ b/test_tipc/test_lite_arm_cpp.sh @@ -56,7 +56,6 @@ function func_test_det(){ for det_batchsize in ${det_batch_size_list[*]}; do _save_log_path="${_log_path}/lite_${_det_model}_runtime_device_${runtime_device}_precision_${precision}_det_batchsize_${det_batchsize}_threads_${num_threads}.log" command="${_script} ${_det_model} ${runtime_device} ${precision} ${num_threads} ${det_batchsize} ${_img_dir} ${_config} ${benchmark_value} > ${_save_log_path} 2>&1" - echo ${command} eval ${command} status_check $? "${command}" "${status_log}" done @@ -84,7 +83,6 @@ function func_test_rec(){ for rec_batchsize in ${rec_batch_size_list[*]}; do _save_log_path="${_log_path}/lite_${_rec_model}_${cls_model}_runtime_device_${runtime_device}_precision_${_precision}_rec_batchsize_${rec_batchsize}_threads_${num_threads}.log" command="${_script} ${_rec_model} ${_cls_model} ${runtime_device} ${_precision} ${num_threads} ${rec_batchsize} ${_img_dir} ${_config} ${_rec_dict_dir} ${benchmark_value} > ${_save_log_path} 2>&1" - echo ${command} eval ${command} status_check $? "${command}" "${status_log}" done @@ -113,7 +111,6 @@ function func_test_system(){ for rec_batchsize in ${rec_batch_size_list[*]}; do _save_log_path="${_log_path}/lite_${_det_model}_${_rec_model}_${_cls_model}_runtime_device_${runtime_device}_precision_${_precision}_det_batchsize_${det_batchsize}_rec_batchsize_${rec_batchsize}_threads_${num_threads}.log" command="${_script} ${_det_model} ${_rec_model} ${_cls_model} ${runtime_device} ${_precision} ${num_threads} ${det_batchsize} ${_img_dir} ${_config} ${_rec_dict_dir} ${benchmark_value} > ${_save_log_path} 2>&1" - echo ${command} eval ${command} status_check $? "${command}" "${status_log}" done -- GitLab