Skip to content

Commit bc36396

Browse files
gmcatherXreki
authored andcommitted
fix test_understand_sentiment bug (#8767)
1 parent d398b96 commit bc36396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/tests/book/test_understand_sentiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def main(word_dict, net_method, use_cuda, parallel=False, save_dirname=None):
274274
use_cuda,
275275
parallel=parallel,
276276
save_dirname=save_dirname)
277-
infer(use_cuda, save_dirname)
277+
infer(word_dict, use_cuda, save_dirname)
278278

279279

280280
class TestUnderstandSentiment(unittest.TestCase):

0 commit comments

Comments
 (0)