Skip to content

Commit ade6c83

Browse files
authored
open test_word2vec (#6104)
1 parent 42708de commit ade6c83

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

python/paddle/v2/fluid/tests/book/test_word2vec.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@
5858
place = fluid.CPUPlace()
5959
exe = fluid.Executor(place)
6060

61-
# fix https://github.com/PaddlePaddle/Paddle/issues/5434 then remove
62-
# below exit line.
63-
exit(0)
64-
6561
exe.run(fluid.default_startup_program())
6662

6763
for pass_id in range(PASS_NUM):
@@ -79,6 +75,6 @@
7975
'nextw': input_data[4]
8076
},
8177
fetch_list=[avg_cost])
82-
if avg_cost_np[0] < 10.0:
78+
if avg_cost_np[0] < 5.0:
8379
exit(0) # if avg cost less than 10.0, we think our code is good.
8480
exit(1)

0 commit comments

Comments
 (0)