提交 dbd82ee6 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!4636 Add TFLITE Model Squeezenet

Merge pull request !4636 from liuxiao78/master
......@@ -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
......@@ -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}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册