!21214 [lite]open nnie

Merge pull request !21214 from 徐安越/master
This commit is contained in:
i-robot 2021-08-02 11:08:15 +00:00 committed by Gitee
commit f39b6290a8
1 changed files with 6 additions and 7 deletions

View File

@ -119,11 +119,10 @@ if [[ $backend == "all" || $backend == "x86-all" || $backend == "x86" || $backen
fi
if [[ $backend == "all" || $backend == "arm32_3516D" ]]; then
exit 0
# sh $cur_path/scripts/nnie/run_converter_nnie.sh -r $release_path -m $models_path -d $device_id -e $backend
# hi3516_status=$?
# if [[ $hi3516_status -ne 0 ]]; then
# echo "Run nnie hi3516 failed"
# exit 1
# fi
sh $cur_path/scripts/nnie/run_converter_nnie.sh -r $release_path -m $models_path -d $device_id -e $backend
hi3516_status=$?
if [[ $hi3516_status -ne 0 ]]; then
echo "Run nnie hi3516 failed"
exit 1
fi
fi