From c0404286126561daffd66718d5d5dad8a8544715 Mon Sep 17 00:00:00 2001 From: Guanghua Yu <742925032@qq.com> Date: Tue, 27 Apr 2021 17:01:14 +0800 Subject: [PATCH] fix downlaod weights dir of static model (#2775) --- static/ppdet/utils/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/ppdet/utils/download.py b/static/ppdet/utils/download.py index 6e4cb4019..2c53406e8 100644 --- a/static/ppdet/utils/download.py +++ b/static/ppdet/utils/download.py @@ -37,7 +37,7 @@ __all__ = [ 'create_voc_list' ] -WEIGHTS_HOME = osp.expanduser("~/.cache/paddle/weights") +WEIGHTS_HOME = osp.expanduser("~/.cache/paddle/weights/static") DATASET_HOME = osp.expanduser("~/.cache/paddle/dataset") # dict of {dataset_name: (download_info, sub_dirs)} -- GitLab