Skip to content

Commit d553892

Browse files
authored
Merge pull request #72 from JoelKronander/files_updates_and_clean_up
Major clean up in dowload dataset functions in files.py
2 parents 29fe5ff + 4a8379e commit d553892

File tree

2 files changed

+170
-249
lines changed

2 files changed

+170
-249
lines changed

example/tutorial_translate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ def main_train():
144144
so we use TensorFlow's gfile functions to speed up the pre-processing.
145145
"""
146146
print()
147-
print("Prepare raw data")
148-
train_path, dev_path = tl.files.load_wmt_en_fr_dataset(data_dir=data_dir)
147+
print("Prepare the raw data")
148+
train_path, dev_path = tl.files.load_wmt_en_fr_dataset(path=data_dir)
149149
print("Training data : %s" % train_path) # wmt/giga-fren.release2
150150
print("Testing data : %s" % dev_path) # wmt/newstest2013
151151

0 commit comments

Comments
 (0)