From bc36396d71e6200f87cdacda3f07e6c023b26f0c Mon Sep 17 00:00:00 2001 From: gmcather Date: Tue, 6 Mar 2018 11:55:27 +0800 Subject: [PATCH] fix test_understand_sentiment bug (#8767) --- python/paddle/fluid/tests/book/test_understand_sentiment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/book/test_understand_sentiment.py b/python/paddle/fluid/tests/book/test_understand_sentiment.py index 1b7e84ea05c..d2f3f740469 100644 --- a/python/paddle/fluid/tests/book/test_understand_sentiment.py +++ b/python/paddle/fluid/tests/book/test_understand_sentiment.py @@ -274,7 +274,7 @@ def main(word_dict, net_method, use_cuda, parallel=False, save_dirname=None): use_cuda, parallel=parallel, save_dirname=save_dirname) - infer(use_cuda, save_dirname) + infer(word_dict, use_cuda, save_dirname) class TestUnderstandSentiment(unittest.TestCase): -- GitLab