You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by la...@apache.org on 2020/04/24 03:19:47 UTC

[incubator-mxnet] 01/01: Update test_mlp.py

This is an automated email from the ASF dual-hosted git repository.

lausen pushed a commit to branch leezu-patch-2
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit c2791199499f21c8e5400b412102280e75ab2620
Author: Leonard Lausen <la...@amazon.com>
AuthorDate: Thu Apr 23 20:19:02 2020 -0700

    Update test_mlp.py
    
    0.96 is flaky http://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/mxnet-validation/pipelines/centos-cpu/branches/master/runs/1869/nodes/146/steps/263/log/?start=0
---
 tests/python/train/test_mlp.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/python/train/test_mlp.py b/tests/python/train/test_mlp.py
index 1b8e06f..65c67ea 100644
--- a/tests/python/train/test_mlp.py
+++ b/tests/python/train/test_mlp.py
@@ -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()