wkcn edited a comment on issue #14542: Support SyncBatchNorm5D
URL: https://github.com/apache/incubator-mxnet/pull/14542#issuecomment-477432470
 
 
   There is a bug when the dimension of inputs is 2.
   ```
   ======================================================================
   
   FAIL: test_gluon_gpu.test_sync_batchnorm
   
   ----------------------------------------------------------------------
   
   Traceback (most recent call last):
   
     File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in 
runTest
   
       self.test(*self.arg)
   
     File "/work/mxnet/tests/python/gpu/../unittest/common.py", line 177, in 
test_new
   
       orig_test(*args, **kwargs)
   
     File "/work/mxnet/tests/python/gpu/test_gluon_gpu.py", line 373, in 
test_sync_batchnorm
   
       num_devices=ndev, cuda=cuda)
   
     File "/work/mxnet/tests/python/gpu/test_gluon_gpu.py", line 352, in 
_check_batchnorm_result
   
       atol=1e-3, rtol=1e-3)
   
     File "/work/mxnet/python/mxnet/test_utils.py", line 495, in 
assert_almost_equal
   
       raise AssertionError(msg)
   
   AssertionError: 
   
   Items are not equal:
   
   Error 1.597678 exceeds tolerance rtol=0.001000, atol=0.001000.  Location of 
maximum error:(0,), a=0.912201, b=0.909150
   
    a: array([0.9122006, 0.906133 ], dtype=float32)
   
    b: array([0.9091504, 0.9045997], dtype=float32)
   
   -------------------- >> begin captured logging << --------------------
   
   common: INFO: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=868530648 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:
[email protected]


With regards,
Apache Git Services

Reply via email to