open nnie

This commit is contained in:
xuanyue 2021-08-02 10:12:18 +08:00
parent 9720bab9c9
commit e0fb23cf88
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