Skip to content

Commit

Permalink
exit command at fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer2368 committed Dec 7, 2022
1 parent e9b24b5 commit 90e35e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/optimization_ver3/check.flux
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ do
else
echo $RESULT
python3 checkGradientAccuracy.py optim.yml --mode log_result --result $RESULT
if [ $? -ne 0]; then exit -1; fi
fi
done

Expand Down

0 comments on commit 90e35e1

Please sign in to comment.