From a69ca0eccfc1ca67ffd286a75fa54e9628d216f4 Mon Sep 17 00:00:00 2001 From: Kaipeng Deng Date: Fri, 1 Nov 2019 17:40:28 +0800 Subject: [PATCH] fix download.py (#13) --- ppdet/utils/download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ppdet/utils/download.py b/ppdet/utils/download.py index 00c3ec8c5a..d5f8cc1463 100644 --- a/ppdet/utils/download.py +++ b/ppdet/utils/download.py @@ -30,13 +30,13 @@ import logging logger = logging.getLogger(__name__) -__all__ = ['get_weights_path', 'get_dataset_path'] +__all__ = ['get_weights_path', 'get_dataset_path', 'download_dataset', 'create_voc_list'] WEIGHTS_HOME = osp.expanduser("~/.cache/paddle/weights") DATASET_HOME = osp.expanduser("~/.cache/paddle/dataset") # dict of {dataset_name: (download_info, sub_dirs)} -# download info: (url, md5sum) +# download info: [(url, md5sum)] DATASETS = { 'coco': ([ (