error message

This commit is contained in:
Jeff Wu
2019-02-15 10:48:19 -08:00
parent 16095a6139
commit ebd5894d22

View File

@ -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 model=$1
mkdir -p models/$model mkdir -p models/$model