Skip to content
Snippets Groups Projects
Commit 78a798b7 authored by zqwerty's avatar zqwerty
Browse files

update sgd preprocess.py

parent 722635d4
Branches
No related tags found
No related merge requests found
...@@ -353,8 +353,8 @@ def preprocess(): ...@@ -353,8 +353,8 @@ 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__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment