From f17cd09f183562e8a8f98a5d359a7b0cb51e4ed0 Mon Sep 17 00:00:00 2001 From: gongweibao Date: Wed, 22 Mar 2017 20:07:16 +0800 Subject: [PATCH] fix bugs --- .tools/cache_dataset.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.tools/cache_dataset.py b/.tools/cache_dataset.py index 98d59c2..ae0125c 100755 --- a/.tools/cache_dataset.py +++ b/.tools/cache_dataset.py @@ -42,7 +42,11 @@ dataset.common.download(dataset.wmt14.URL_TRAIN, "wmt14",\ dataset.wmt14.MD5_TRAIN) #mnist -dataset.common.download(dataset.mnist.TRAIN_IMAGE_URL, 'mnist', TRAIN_IMAGE_MD5) -dataset.common.download(dataset.mnist.TRAIN_LABEL_URL, 'mnist', TRAIN_LABEL_MD5) -dataset.common.download(dataset.mnist.TEST_IMAGE_URL, 'mnist', TEST_IMAGE_MD5) -dataset.common.download(dataset.mnist.TEST_LABEL_URL, 'mnist', TEST_LABEL_MD5) +dataset.common.download(dataset.mnist.TRAIN_IMAGE_URL, 'mnist', + dataset.mnist.TRAIN_IMAGE_MD5) +dataset.common.download(dataset.mnist.TRAIN_LABEL_URL, 'mnist', + dataset.mnist.TRAIN_LABEL_MD5) +dataset.common.download(dataset.mnist.TEST_IMAGE_URL, 'mnist', + dataset.mnist.TEST_IMAGE_MD5) +dataset.common.download(dataset.mnist.TEST_LABEL_URL, 'mnist', + dataset.mnist.TEST_LABEL_MD5) -- GitLab