You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/10/31 01:30:42 UTC

[GitHub] [incubator-mxnet] TaoLv commented on issue #16616: [Flaky] test_numpy_op.test_np_einsum

TaoLv commented on issue #16616: [Flaky] test_numpy_op.test_np_einsum
URL: https://github.com/apache/incubator-mxnet/issues/16616#issuecomment-548179398
 
 
   It's still flaky in #16555: http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-16555/18/pipeline
   ``` ======================================================================
   
   FAIL: test_numpy_op.test_np_einsum
   
   ----------------------------------------------------------------------
   
   Traceback (most recent call last):
   
     File "/usr/local/lib/python3.5/dist-packages/nose/case.py", line 198, in runTest
   
       self.test(*self.arg)
   
     File "/work/mxnet/tests/python/unittest/common.py", line 177, in test_new
   
       orig_test(*args, **kwargs)
   
     File "/work/mxnet/python/mxnet/util.py", line 315, in _with_np_shape
   
       return func(*args, **kwargs)
   
     File "/work/mxnet/python/mxnet/util.py", line 499, in _with_np_array
   
       return func(*args, **kwargs)
   
     File "/work/mxnet/tests/python/unittest/test_numpy_op.py", line 3585, in test_np_einsum
   
       assert_almost_equal(grad[0][iop], grad[1][iop], rtol=rtol, atol=atol)
   
     File "/work/mxnet/python/mxnet/test_utils.py", line 627, in assert_almost_equal
   
       raise AssertionError(msg)
   
   AssertionError: 
   
   Items are not equal:
   
   Error 1.018927 exceeds tolerance rtol=1.000000e-03, atol=1.000000e-05 (mismatch 20.000000%).
   
   Location of maximum error: (0, 1), a=-0.03388485, b=-0.03384018
   
    ACTUAL: array([[  97.04612   ,   -0.03388485, -148.55832   ,  -86.593506  ,
   
            -22.488245  ],
   
          [  97.04612   ,   -0.03388485, -148.55832   ,  -86.593506  ,...
   
    DESIRED: array([[  97.04615   ,   -0.03384018, -148.5583    ,  -86.5935    ,
   
            -22.48825   ],
   
          [  97.04615   ,   -0.03384018, -148.5583    ,  -86.5935    ,...
   
   -------------------- >> begin captured stdout << ---------------------
   
   
   
   *** Maximum errors for vector of size 25:  rtol=0.001, atol=1e-05
   
   
   
     1: Error 1.018927  Location of error: (0, 1), a=-0.03388485, b=-0.03384018
   
     2: Error 1.018927  Location of error: (1, 1), a=-0.03388485, b=-0.03384018
   
     3: Error 1.018927  Location of error: (2, 1), a=-0.03388485, b=-0.03384018
   
     4: Error 1.018927  Location of error: (3, 1), a=-0.03388485, b=-0.03384018
   
     5: Error 1.018927  Location of error: (4, 1), a=-0.03388485, b=-0.03384018
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services