We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42708de commit ade6c83Copy full SHA for ade6c83
python/paddle/v2/fluid/tests/book/test_word2vec.py
@@ -58,10 +58,6 @@
58
place = fluid.CPUPlace()
59
exe = fluid.Executor(place)
60
61
-# fix https://github.com/PaddlePaddle/Paddle/issues/5434 then remove
62
-# below exit line.
63
-exit(0)
64
-
65
exe.run(fluid.default_startup_program())
66
67
for pass_id in range(PASS_NUM):
@@ -79,6 +75,6 @@
79
75
'nextw': input_data[4]
80
76
},
81
77
fetch_list=[avg_cost])
82
- if avg_cost_np[0] < 10.0:
78
+ if avg_cost_np[0] < 5.0:
83
exit(0) # if avg cost less than 10.0, we think our code is good.
84
exit(1)
0 commit comments