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/02/28 21:38:50 UTC

[GitHub] reminisce opened a new issue #14285: [Flaky] test_infer_type.test_infer_multiout_op2

reminisce opened a new issue #14285: [Flaky] test_infer_type.test_infer_multiout_op2
URL: https://github.com/apache/incubator-mxnet/issues/14285
 
 
   `rtol` and `atol` are too small.
   ```
   ======================================================================
   
   FAIL: test_infer_type.test_infer_multiout_op2
   
   ----------------------------------------------------------------------
   
   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 173, in test_new
   
       orig_test(*args, **kwargs)
   
     File "/work/mxnet/tests/python/unittest/test_infer_type.py", line 53, in test_infer_multiout_op2
   
       assert_almost_equal(data64.grad.asnumpy(), data32.grad.asnumpy(), atol=1e-5, rtol=1e-5)
   
     File "/work/mxnet/python/mxnet/test_utils.py", line 495, in assert_almost_equal
   
       raise AssertionError(msg)
   
   AssertionError: 
   
   Items are not equal:
   
   Error 1.255168 exceeds tolerance rtol=0.000010, atol=0.000010.  Location of maximum error:(0, 0), a=1.126330, b=1.126357
   
    a: array([[ 1.12633027, -0.36011942, -2.88966223],
   
          [ 0.36969506,  0.46481542, -1.28346102]])
   
    b: array([[ 1.126357  , -0.36011437, -2.889654  ],
   
          [ 0.36970395,  0.46481735, -1.2834579 ]], dtype=float32)
   
   -------------------- >> begin captured logging << --------------------
   
   common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=659193567 to reproduce.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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