Skip to content

Commit f3d816d

Browse files
authored
Merge pull request #545 from reyoung/change_download_to_cdn
Change demo datafile location by using CDN in baidu.
2 parents 75553e2 + 99c205b commit f3d816d

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

demo/model_zoo/embedding/pre_DictAndModel.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,5 @@ set -x
1818
# download the dictionary and pretrained model
1919
for file in baidu.dict model_32.emb model_64.emb model_128.emb model_256.emb
2020
do
21-
# following is the google drive address
22-
# you can also directly download from https://pan.baidu.com/s/1o8q577s
23-
wget https://www.googledrive.com/host/0B7Q8d52jqeI9ejh6Q1RpMTFQT1k/embedding/$file --no-check-certificate
21+
wget http://paddlepaddle.bj.bcebos.com/model_zoo/embedding/$file
2422
done

demo/model_zoo/resnet/get_model.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ echo "Downloading ResNet models..."
2424

2525
for file in resnet_50.tar.gz resnet_101.tar.gz resnet_152.tar.gz mean_meta_224.tar.gz
2626
do
27-
# following is the google drive address
28-
# you can also directly download from https://pan.baidu.com/s/1o8q577s
29-
wget https://www.googledrive.com/host/0B7Q8d52jqeI9ejh6Q1RpMTFQT1k/imagenet/$file --no-check-certificate
27+
wget http://paddlepaddle.bj.bcebos.com/model_zoo/imagenet/$file
3028
tar -xvf $file
3129
rm $file
3230
done

demo/seqToseq/data/paraphrase_data.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ set -e
1616
set -x
1717

1818
# download the in-house paraphrase dataset
19-
# following is the google drive address
20-
# you can also directly download from https://pan.baidu.com/s/1o8q577s
21-
wget https://www.googledrive.com/host/0B7Q8d52jqeI9ejh6Q1RpMTFQT1k/embedding/paraphrase.tar.gz --no-check-certificate
19+
wget http://paddlepaddle.bj.bcebos.com/model_zoo/embedding/paraphrase.tar.gz
2220

2321
# untar the dataset
2422
tar -zxvf paraphrase.tar.gz

demo/seqToseq/data/wmt14_model.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ set -e
1616
set -x
1717

1818
# download the pretrained model
19-
# following is the google drive address
20-
# you can also directly download from https://pan.baidu.com/s/1o8q577s
21-
wget https://www.googledrive.com/host/0B7Q8d52jqeI9ejh6Q1RpMTFQT1k/wmt14_model.tar.gz --no-check-certificate
19+
wget http://paddlepaddle.bj.bcebos.com/model_zoo/wmt14_model.tar.gz
2220

2321
# untar the model
2422
tar -zxvf wmt14_model.tar.gz

0 commit comments

Comments
 (0)