Skip to content

Commit

Permalink
error message
Browse files Browse the repository at this point in the history
  • Loading branch information
WuTheFWasThat committed Feb 15, 2019
1 parent 16095a6 commit ebd5894
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions download_model.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
if [ "$#" -ne 1 ]; then
echo "You must enter the model name as a parameter, e.g.: sh download_model.sh 117M"
exit 1
fi

model=$1

mkdir -p models/$model
Expand Down

0 comments on commit ebd5894

Please sign in to comment.