stu1130 commented on issue #16389: [Flaky] test_np_max_min on windows
URL: 
https://github.com/apache/incubator-mxnet/issues/16389#issuecomment-539625993
 
 
   observe the same error in np_mean windows_gpu
   ```
   ======================================================================
   
   ERROR: test_numpy_op.test_np_mean
   
   ----------------------------------------------------------------------
   
   Traceback (most recent call last):
   
     File "C:\Python37\lib\site-packages\nose\case.py", line 198, in runTest
   
       self.test(*self.arg)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\tests\python\unittest\common.py", 
line 177, in test_new
   
       orig_test(*args, **kwargs)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\windows_package\python\mxnet\util.py",
 line 307, in _with_np_shape
   
       return func(*args, **kwargs)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\windows_package\python\mxnet\util.py",
 line 491, in _with_np_array
   
       return func(*args, **kwargs)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\tests\python\unittest\test_numpy_op.py",
 line 800, in test_np_mean
   
       assert_almost_equal(mx_out.asnumpy(), np_out, rtol=1e-3, atol=1e-5, 
use_broadcast=False)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\windows_package\python\mxnet\ndarray\ndarray.py",
 line 2504, in asnumpy
   
       ctypes.c_size_t(data.size)))
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\windows_package\python\mxnet\base.py",
 line 254, in check_call
   
       raise MXNetError(py_str(_LIB.MXGetLastError()))
   
   mxnet.base.MXNetError: [05:47:40] 
c:\jenkins_slave\workspace\build-gpu\include\mxnet\tuple.h:390: Check failed: 
ndim >= -1 (-278127078 vs. -1) : shape ndim must be >= -1, while received 
   
   -278127078
   
   -------------------- >> begin captured logging << --------------------
   
   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: INFO: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1811468884 to reproduce.
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to