From 4660bd3b288d1beabe68bb724dfe18d2d55e768b Mon Sep 17 00:00:00 2001 From: Kieren Date: Sat, 23 Sep 2023 11:24:39 +1000 Subject: [PATCH] Add "--continue" flag to wget for model binary in order to resume downloads. --- download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.sh b/download.sh index 39d92f4..9ba1b53 100755 --- a/download.sh +++ b/download.sh @@ -56,7 +56,7 @@ do for s in $(seq -f "0%g" 0 ${SHARD}) do - wget ${PRESIGNED_URL/'*'/"${MODEL_PATH}/consolidated.${s}.pth"} -O ${TARGET_FOLDER}"/${MODEL_PATH}/consolidated.${s}.pth" + wget --continue ${PRESIGNED_URL/'*'/"${MODEL_PATH}/consolidated.${s}.pth"} -O ${TARGET_FOLDER}"/${MODEL_PATH}/consolidated.${s}.pth" done wget --continue ${PRESIGNED_URL/'*'/"${MODEL_PATH}/params.json"} -O ${TARGET_FOLDER}"/${MODEL_PATH}/params.json"