From dff057a2713bacacf85480d5a5754b260fa5fc5c Mon Sep 17 00:00:00 2001 From: yangyaming Date: Tue, 18 Jul 2017 11:48:42 +0800 Subject: [PATCH] Fix nce_cost/train.py format. --- nce_cost/train.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nce_cost/train.py b/nce_cost/train.py index 94b76188..3babf7fe 100644 --- a/nce_cost/train.py +++ b/nce_cost/train.py @@ -47,8 +47,8 @@ def train(model_save_dir): paddle.reader.shuffle( lambda: paddle.dataset.imikolov.train(word_dict, 5)(), buf_size=1000), 64), - num_passes=1000, - event_handler=event_handler) + num_passes=1000, + event_handler=event_handler) if __name__ == "__main__": -- GitLab