From 9b4e4a7b472d811acf2f2aa7a2082d3428dafa7d Mon Sep 17 00:00:00 2001 From: wangxiao Date: Fri, 29 Nov 2019 17:19:48 +0800 Subject: [PATCH] update download_models.py --- download_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/download_models.py b/download_models.py index 4c7314e..7095a91 100644 --- a/download_models.py +++ b/download_models.py @@ -16,6 +16,6 @@ import paddlepalm as palm import sys if(sys.argv[1] == 'ls'): - palm.ls(sys.argv[2]) + palm.downloader.ls(sys.argv[2]) if(sys.argv[1] == 'download'): - palm.download('pretrain', sys.argv[2]) + palm.downloader.download('pretrain', sys.argv[2]) -- GitLab