kpuatamazon commented on issue #19081:
URL:
https://github.com/apache/incubator-mxnet/issues/19081#issuecomment-740214808
```
nosetests test_numpy_op.py:test_np_round
[INFO] Setting test np/mx/python random seeds, use MXNET_TEST_SEED=675318784
to reproduce.
[WARNING] Error seen with seeded test, use MXNET_TEST_SEED=675318784 to
reproduce.
F
======================================================================
FAIL: test_numpy_op.test_np_round
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/ubuntu/mxnet-fallback-venv/lib/python3.6/site-packages/nose/case.py",
line 198, in runTest
self.test(*self.arg)
File "/home/ubuntu/mxnet-fallback/tests/python/unittest/common.py", line
218, in test_new
orig_test(*args, **kwargs)
File "/home/ubuntu/mxnet-fallback/python/mxnet/util.py", line 297, in
_with_np_shape
return func(*args, **kwargs)
File "/home/ubuntu/mxnet-fallback/python/mxnet/util.py", line 481, in
_with_np_array
return func(*args, **kwargs)
File "/home/ubuntu/mxnet-fallback/tests/python/unittest/test_numpy_op.py",
line 6585, in test_np_round
assert_almost_equal(mx_out.asnumpy(), np_out, rtol=rtol, atol=atol)
File "/home/ubuntu/mxnet-fallback/python/mxnet/test_utils.py", line 749,
in assert_almost_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
Error 3.662956 exceeds tolerance rtol=1.000000e-03, atol=1.000000e-05
(mismatch 16.666667%).
Location of maximum error: (0, 0, 1), a=-0.26400000, b=-0.26300001
ACTUAL: array([[[-0.32400003, -0.264 , 1.54 ],
[-0.9969999 , -0.317 , -0.249 ]]], dtype=float32)
DESIRED: array([[[-0.324, -0.263, 1.54 ],
[-0.997, -0.317, -0.249]]], dtype=float32)
-------------------- >> begin captured stdout << ---------------------
*** Maximum errors for vector of size 6: rtol=0.001, atol=1e-05
1: Error 3.662956 Location of error: (0, 0, 1), a=-0.26400000,
b=-0.26300001
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
common: INFO: Setting test np/mx/python random seeds, use
MXNET_TEST_SEED=675318784 to reproduce.
root: INFO: NumPy-shape semantics has been activated in your code. This is
required for creating and manipulating scalar and zero-size tensors, which were
not supported in MXNet before, as in the official NumPy library. Please DO NOT
manually deactivate this semantics while using `mxnet.numpy` and
`mxnet.numpy_extension` modules.
common: WARNING: Error seen with seeded test, use MXNET_TEST_SEED=675318784
to reproduce.
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 1 test in 0.142s
FAILED (failures=1)
```
Seen in
https://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-19601/4/pipeline
based on v1.x
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]