From 061cb34f70dcce27b84cca7f6b05ba181cd70035 Mon Sep 17 00:00:00 2001 From: xiaoting <31891223+tink2123@users.noreply.github.com> Date: Tue, 8 Oct 2019 15:58:49 +0800 Subject: [PATCH] replace dataset url,test=develop (#20179) --- python/paddle/dataset/imdb.py | 3 ++- python/paddle/dataset/imikolov.py | 3 ++- python/paddle/dataset/movielens.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python/paddle/dataset/imdb.py b/python/paddle/dataset/imdb.py index 99f4adc35c1..d76a533a55a 100644 --- a/python/paddle/dataset/imdb.py +++ b/python/paddle/dataset/imdb.py @@ -31,7 +31,8 @@ import six __all__ = ['build_dict', 'train', 'test'] -URL = 'http://ai.stanford.edu/%7Eamaas/data/sentiment/aclImdb_v1.tar.gz' +#URL = 'http://ai.stanford.edu/%7Eamaas/data/sentiment/aclImdb_v1.tar.gz' +URL = 'https://dataset.bj.bcebos.com/imdb%2FaclImdb_v1.tar.gz' MD5 = '7c2ac02c03563afcf9b574c7e56c153a' diff --git a/python/paddle/dataset/imikolov.py b/python/paddle/dataset/imikolov.py index 83cde3526ea..e1967d3db8c 100644 --- a/python/paddle/dataset/imikolov.py +++ b/python/paddle/dataset/imikolov.py @@ -28,7 +28,8 @@ import six __all__ = ['train', 'test', 'build_dict'] -URL = 'http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz' +#URL = 'http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz' +URL = 'https://dataset.bj.bcebos.com/imikolov%2Fsimple-examples.tgz' MD5 = '30177ea32e27c525793142b6bf2c8e2d' diff --git a/python/paddle/dataset/movielens.py b/python/paddle/dataset/movielens.py index eddd858ace8..f58491243be 100644 --- a/python/paddle/dataset/movielens.py +++ b/python/paddle/dataset/movielens.py @@ -40,7 +40,8 @@ __all__ = [ age_table = [1, 18, 25, 35, 45, 50, 56] -URL = 'http://files.grouplens.org/datasets/movielens/ml-1m.zip' +#URL = 'http://files.grouplens.org/datasets/movielens/ml-1m.zip' +URL = 'https://dataset.bj.bcebos.com/movielens%2Fml-1m.zip' MD5 = 'c4d9eecfca2ab87c1945afe126590906' -- GitLab