From 87e77187b3463121bbe4664a8dc240a95d405109 Mon Sep 17 00:00:00 2001 From: wangxiao Date: Thu, 28 Nov 2019 20:23:08 +0800 Subject: [PATCH] update downloader.py --- paddlepalm/downloader.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/paddlepalm/downloader.py b/paddlepalm/downloader.py index 890ea49..e33ee7a 100644 --- a/paddlepalm/downloader.py +++ b/paddlepalm/downloader.py @@ -87,12 +87,8 @@ def _download(item, scope, path, silent=False): if scope == 'bert-en-uncased-large': source_path = data_dir + '/' + data_name.split('.')[0] fileList = os.listdir(source_path) - print('source: {}'.format(source_path)) - print('filelist: {}'.format(fileList)) for file in fileList: filePath = os.path.join(source_path, file) - print('filepath: {}'.format(filePath)) - print('datadir: {}'.format(data_dir)) shutil.move(filePath, data_dir) os.removedirs(source_path) if not silent: -- GitLab