Skip to content

Commit 7b72c79

Browse files
committed
update
1 parent b7a809a commit 7b72c79

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

python/paddle/v2/dataset/cifar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ def test10():
7777
'test_batch')
7878

7979

80-
def download():
80+
def fetch_data():
8181
paddle.v2.dataset.common.download(CIFAR10_URL, 'cifar', CIFAR10_MD5)
8282
paddle.v2.dataset.common.download(CIFAR100_URL, 'cifar', CIFAR100_MD5)

python/paddle/v2/dataset/conll05.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def test():
198198
return reader_creator(reader, word_dict, verb_dict, label_dict)
199199

200200

201-
def download():
201+
def fetch_data():
202202
paddle.v2.dataset.common.download(WORDDICT_URL, 'conll05st', WORDDICT_MD5)
203203
paddle.v2.dataset.common.download(VERBDICT_URL, 'conll05st', VERBDICT_MD5)
204204
paddle.v2.dataset.common.download(TRGDICT_URL, 'conll05st', TRGDICT_MD5)

python/paddle/v2/dataset/imdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,5 @@ def word_dict():
125125
re.compile("aclImdb/((train)|(test))/((pos)|(neg))/.*\.txt$"), 150)
126126

127127

128-
def download():
128+
def fetch_data():
129129
paddle.v2.dataset.common.download(URL, 'imdb', MD5)

python/paddle/v2/dataset/imikolov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ def test(word_idx, n):
9191
return reader_creator('./simple-examples/data/ptb.valid.txt', word_idx, n)
9292

9393

94-
def download():
94+
def fetch_data():
9595
paddle.v2.dataset.common.download(URL, "imikolov", MD5)

python/paddle/v2/dataset/mnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ def test():
108108
TEST_LABEL_MD5), 100)
109109

110110

111-
def download():
111+
def fetch_data():
112112
paddle.v2.dataset.common.download(TRAIN_IMAGE_URL, 'mnist', TRAIN_IMAGE_MD5)
113113
paddle.v2.dataset.common.download(TRAIN_LABEL_URL, 'mnist', TRAIN_LABEL_MD5)

python/paddle/v2/dataset/movielens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def unittest():
205205
print train_count, test_count
206206

207207

208-
def download():
208+
def fetch_data():
209209
paddle.v2.dataset.common.download(URL, "movielens", MD5)
210210

211211

python/paddle/v2/dataset/sentiment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import nltk
2727
from nltk.corpus import movie_reviews
2828

29-
import common
29+
import paddle.v2.dataset.common
3030

3131
__all__ = ['train', 'test', 'get_word_dict']
3232
NUM_TRAINING_INSTANCES = 1600
@@ -127,5 +127,5 @@ def test():
127127
return reader_creator(data_set[NUM_TRAINING_INSTANCES:])
128128

129129

130-
def download():
130+
def fetch_data():
131131
nltk.download('movie_reviews', download_dir=common.DATA_HOME)

python/paddle/v2/dataset/uci_housing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ def reader():
9191
return reader
9292

9393

94-
def download():
94+
def fetch_data():
9595
paddle.v2.dataset.common.download(URL, 'uci_housing', MD5)

python/paddle/v2/dataset/wmt14.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ def test(dict_size):
105105
'test/test', dict_size)
106106

107107

108-
def download():
108+
def fetch_data():
109109
paddle.v2.dataset.common.download(URL_TRAIN, 'wmt14', MD5_TRAIN)

0 commit comments

Comments
 (0)