fix paddle2onnx for GeneralRecognition model
parent
ad707bde4a
commit
10cf8736cc
|
@ -2,6 +2,7 @@
|
||||||
source test_tipc/common_func.sh
|
source test_tipc/common_func.sh
|
||||||
|
|
||||||
FILENAME=$1
|
FILENAME=$1
|
||||||
|
MODE=$2
|
||||||
|
|
||||||
# parser params
|
# parser params
|
||||||
dataline=$(awk 'NR==1, NR==16{print}' $FILENAME)
|
dataline=$(awk 'NR==1, NR==16{print}' $FILENAME)
|
||||||
|
@ -35,7 +36,7 @@ inference_hardware_value=$(func_parser_value "${lines[14]}")
|
||||||
inference_config_key=$(func_parser_key "${lines[15]}")
|
inference_config_key=$(func_parser_key "${lines[15]}")
|
||||||
inference_config_value=$(func_parser_value "${lines[15]}")
|
inference_config_value=$(func_parser_value "${lines[15]}")
|
||||||
|
|
||||||
LOG_PATH="./test_tipc/output/${model_name}"
|
LOG_PATH="./test_tipc/output/${model_name}/${MODE}"
|
||||||
mkdir -p ${LOG_PATH}
|
mkdir -p ${LOG_PATH}
|
||||||
status_log="${LOG_PATH}/results_paddle2onnx.log"
|
status_log="${LOG_PATH}/results_paddle2onnx.log"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue