From 78a798b795a1a245ac102ecab40b2aaf442b9325 Mon Sep 17 00:00:00 2001 From: zqwerty <zhuq96@hotmail.com> Date: Fri, 14 Oct 2022 19:21:00 +0800 Subject: [PATCH] update sgd preprocess.py --- data/unified_datasets/sgd/preprocess.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/unified_datasets/sgd/preprocess.py b/data/unified_datasets/sgd/preprocess.py index 255e8008..099d26e3 100644 --- a/data/unified_datasets/sgd/preprocess.py +++ b/data/unified_datasets/sgd/preprocess.py @@ -353,8 +353,8 @@ def preprocess(): with ZipFile('data.zip', 'w', ZIP_DEFLATED) as zf: for filename in os.listdir(new_data_dir): zf.write(f'{new_data_dir}/{filename}') - # rmtree(original_data_dir) - # rmtree(new_data_dir) + rmtree(original_data_dir) + rmtree(new_data_dir) return dialogues, ontology if __name__ == '__main__': -- GitLab