Skip to content

Commit

Permalink
Update test_mlp.py (apache#18156)
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu authored and AntiZpvoh committed Jul 6, 2020
1 parent fd04638 commit f2fc90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/train/test_mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_mlp():
py = np.argmax(prob, axis=1)
acc1 = float(np.sum(py == y)) / len(y)
logging.info('final accuracy = %f', acc1)
assert(acc1 > 0.95)
assert(acc1 > 0.94)

# predict internal featuremaps
internals = softmax.get_internals()
Expand Down

0 comments on commit f2fc90f

Please sign in to comment.