diff options
author | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2017-10-14 22:16:10 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rgrundki@exseed.ed.ac.uk> | 2017-10-14 22:16:10 +0300 |
commit | 03303c7b7fdfc77a6c0ab3caacda930d49263e7f (patch) | |
tree | ec2948a93724fa2f1351fd51704a9a4a46e7a867 | |
parent | fbdb784a846a4fd73b614317fa2709d0e630d2ce (diff) |
Make downloading less verbose
-rwxr-xr-x | data/download-data.sh | 4 | ||||
-rw-r--r-- | models/download-wmt16.sh | 2 | ||||
-rw-r--r-- | models/download-wmt17.sh | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/data/download-data.sh b/data/download-data.sh index 079146b..a1e123a 100755 --- a/data/download-data.sh +++ b/data/download-data.sh @@ -8,14 +8,14 @@ MODEL_FILES=( ) for file in ${MODEL_FILES[@]}; do - echo $file + echo Downloading $file ... mkdir -p $(dirname $file) if [[ $file = *.gz ]]; then target="${file%.*}" if [ ! -s $target ]; then - wget -qO- $URL/$file | gzip -dc > $target + wget -nv -O- $URL/$file | gzip -dc > $target fi fi done diff --git a/models/download-wmt16.sh b/models/download-wmt16.sh index 2b7e99d..69b1fe5 100644 --- a/models/download-wmt16.sh +++ b/models/download-wmt16.sh @@ -1,6 +1,6 @@ #!/bin/bash # Download single en-de wmt16 model -wget -r -e robots=off -nH -np \ +wget -nv -nc -r -e robots=off -nH -np \ -R *ens* -R *r2l* -R index.html* \ http://data.statmt.org/wmt16_systems/en-de/ diff --git a/models/download-wmt17.sh b/models/download-wmt17.sh index ccf83d2..466c42c 100644 --- a/models/download-wmt17.sh +++ b/models/download-wmt17.sh @@ -1,10 +1,10 @@ #!/bin/bash # Download single en-de wmt17 model -wget --no-clobber -r -e robots=off -nH -np \ +wget -q --progress=dot --no-clobber -r -e robots=off -nH -np \ -R *ens2* -R *ens3* -R *ens4* -R *r2l* -R translate-ensemble.sh -R translate-reranked.sh -R index.html* \ http://data.statmt.org/wmt17_systems/en-de/ # Download additional scripts -wget -r -e robots=off -nH -np \ +wget -q --progress=dot --no-clobber -r -e robots=off -nH -np \ -R index.html* \ http://data.statmt.org/wmt17_systems/scripts/ http://data.statmt.org/wmt17_systems/vars |