Skip to content
Snippets Groups Projects
Commit 0ef21cf8 authored by zqwerty's avatar zqwerty
Browse files

update dailydialog preprocess.py

parent 697ab75f
Branches
No related tags found
No related merge requests found
...@@ -147,12 +147,10 @@ def preprocess(): ...@@ -147,12 +147,10 @@ def preprocess():
with ZipFile('data.zip', 'w', ZIP_DEFLATED) as zf: with ZipFile('data.zip', 'w', ZIP_DEFLATED) as zf:
for filename in os.listdir(new_data_dir): for filename in os.listdir(new_data_dir):
zf.write(f'{new_data_dir}/{filename}') zf.write(f'{new_data_dir}/{filename}')
# rmtree(original_data_dir) rmtree(original_data_dir)
# rmtree(new_data_dir) rmtree(new_data_dir)
return dialogues, ontology return dialogues, ontology
if __name__ == '__main__': if __name__ == '__main__':
preprocess() preprocess()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment