diff --git a/mindspore/lite/test/models_tflite.cfg b/mindspore/lite/test/models_tflite.cfg index b321623182..28c3b95ffa 100644 --- a/mindspore/lite/test/models_tflite.cfg +++ b/mindspore/lite/test/models_tflite.cfg @@ -30,6 +30,7 @@ mtk_model_ckpt.tflite mtk_age_gender.tflite mtk_model_face_dress.tflite densenet.tflite +squeezenet.tflite resnet_v2_101_299.tflite mnasnet_1.3_224.tflite inception_v3.tflite @@ -55,5 +56,5 @@ inception_resnet_v2.tflite ml_ocr_latin.tflite hiai_ssd_mobilenetv2_object.tflite inception_v4.tflite +mtk_model_normalize_object_scene_ps_20200519_f16.tflite ml_object_detect.tflite -mtk_model_normalize_object_scene_ps_20200519_f16.tflite \ No newline at end of file diff --git a/mindspore/lite/test/run_benchmark_nets.sh b/mindspore/lite/test/run_benchmark_nets.sh index c4c50cdcb0..5d6f859c5b 100644 --- a/mindspore/lite/test/run_benchmark_nets.sh +++ b/mindspore/lite/test/run_benchmark_nets.sh @@ -209,7 +209,7 @@ while getopts "a:c:m:d:" opt; do m) models_path=${OPTARG} echo "models_path is ${OPTARG}" - ;; + ;; d) device_id=${OPTARG} echo "device_id is ${OPTARG}" @@ -220,11 +220,11 @@ while getopts "a:c:m:d:" opt; do esac done -# Unzip arm +# Unzip arm cd ${arm_path} || exit 1 tar -zxf MSLite-*-linux_arm64.tar.gz || exit 1 -# Unzip convertor +# Unzip convertor cd ${convertor_path} || exit 1 tar -zxf MSLite-*-linux_x86_64.tar.gz || exit 1 cd ${convertor_path}/MSLite-*-linux_x86_64 || exit 1 @@ -325,7 +325,7 @@ echo 'chmod 777 benchmark' >> adb_cmd.txt adb -s ${device_id} shell < adb_cmd.txt -# Write resulte to temp file +# Write resulte to temp file run_benchmark_result_file=${basepath}/run_benchmark_result.txt echo 'cases :' > ${run_benchmark_result_file} @@ -335,7 +335,7 @@ Run_x86_PID=$! sleep 1 # Run on arm64 -Run_arm64 & +Run_arm64 & Run_arm64_PID=$! wait ${Run_x86_PID}