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 2020/01/24 21:47:56 UTC
[GitHub] [incubator-mxnet] haojin2 commented on issue #17362: [flaky]
test_higher_order_grad.test_arcsin
haojin2 commented on issue #17362: [flaky] test_higher_order_grad.test_arcsin
URL: https://github.com/apache/incubator-mxnet/issues/17362#issuecomment-578314928
Another example of failure to assist the debug:
```
======================================================================
FAIL: test_higher_order_grad.test_arcsin
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/ubuntu/5-mxnet/tests/python/unittest/common.py", line 215, in test_new
orig_test(*args, **kwargs)
File "/home/ubuntu/5-mxnet/tests/python/unittest/test_higher_order_grad.py", line 153, in test_arcsin
check_second_order_unary(array, arcsin, grad_grad_op)
File "/home/ubuntu/5-mxnet/tests/python/unittest/test_higher_order_grad.py", line 507, in check_second_order_unary
check_nth_order_unary(x, op, grad_grad_op, 2, rtol, atol)
File "/home/ubuntu/5-mxnet/tests/python/unittest/test_higher_order_grad.py", line 577, in check_nth_order_unary
expected_grad, computed_grad.asnumpy(), rtol=rtol, atol=atol, equal_nan=True)
File "/home/ubuntu/5-mxnet/python/mxnet/test_utils.py", line 627, in assert_almost_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
Error nan exceeds tolerance rtol=1.000000e-05, atol=1.000000e-20 (mismatch 0.173611%).
Location of maximum error: (2, 0, 2, 2), a=-0.00000000, b=nan
ACTUAL: array([[[[ 0.04022623, 0.06529827, 0.04777484, 0.0758371 ,
0.06068928, -0.18494761],
[-0.01754379, 0.06515067, 0.00206734, -0.01263793,...
DESIRED: array([[[[ 0.04022623, 0.06529827, 0.04777484, 0.07583709,
0.06068929, -0.18494764],
[-0.01754379, 0.06515064, 0.00206734, -0.01263793,...
-------------------- >> begin captured stdout << ---------------------
*** Maximum errors for vector of size 576: rtol=1e-05, atol=1e-20
1: Error nan Location of error: (2, 0, 2, 2), a=-0.00000000, b=nan
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
common: INFO: 6939 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1754124593 to reproduce.
--------------------- >> end captured logging << ---------------------
```
----------------------------------------------------------------
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