!19284 [MS][LITE]Update NNIE so
Merge pull request !19284 from gongdaguo/fix_benchmark
This commit is contained in:
commit
3a7b0a245d
|
@ -31,8 +31,6 @@ function Run_Hi3516() {
|
|||
export TIME_STEP=${env_time_step}
|
||||
export MAX_ROI_NUM=${env_max_roi_num}
|
||||
|
||||
chmod +x ./providers/Hi3516D/benchmark
|
||||
|
||||
echo './benchmark --modelFile='${basepath}'/'${model_name}'.ms --inDataFile='${input_files}' --inputShapes='${input_shapes}' --benchmarkDataFile='${basepath}'/../input_output/output/'${model_name}'.ms.out --accuracyThreshold='${accuracy_limit} >> "${run_hi3516_log_file}"
|
||||
./benchmark --modelFile=${basepath}/${model_name}.ms --inDataFile=${input_files} --inputShapes=${input_shapes} --benchmarkDataFile=${basepath}/../input_output/output/${model_name}.ms.out --accuracyThreshold=${accuracy_limit} >> "${run_hi3516_log_file}"
|
||||
if [ $? = 0 ]; then
|
||||
|
|
|
@ -54,11 +54,12 @@ function Run_Hi3516() {
|
|||
tar -zxf mindspore-lite-${version}-linux-aarch32.tar.gz || exit 1
|
||||
cd ${arm32_path}/mindspore-lite-${version}-linux-aarch32 || return 1
|
||||
|
||||
chmod +x ./providers/Hi3516D/benchmark
|
||||
# copy related files to benchmark_test
|
||||
cp -a ./providers/Hi3516D/libmslite_nnie.so ${benchmark_test_path}/libmslite_nnie.so || exit 1
|
||||
cp -a ./providers/Hi3516D/libnnie_proposal.so ${benchmark_test_path}/libnnie_proposal.so || exit 1
|
||||
cp -a ./providers/Hi3516D/benchmark ${benchmark_test_path}/benchmark || exit 1
|
||||
cp -a ./runtime/lib/libmindspore-lite.so ${benchmark_test_path}/libmindspore-lite.so || exit 1
|
||||
cp -a ./providers/Hi3516D/libmslite_nnie.so ${benchmark_test_path}/libmslite_nnie.so || exit 1
|
||||
cp -a ./providers/Hi3516D/libnnie_proposal.so ${benchmark_test_path}/libnnie_proposal.so || exit 1
|
||||
cp -a ./providers/Hi3516D/benchmark ${benchmark_test_path}/benchmark || exit 1
|
||||
cp -a ./runtime/lib/libmindspore-lite.so ${benchmark_test_path}/libmindspore-lite.so || exit 1
|
||||
|
||||
# cp files to nfs shared folder
|
||||
echo "start push files to hi3516"
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue