wkcn commented on issue #13609: [MXNET-1258]fix unittest for ROIAlign Operator
URL: https://github.com/apache/incubator-mxnet/pull/13609#issuecomment-455036087
 
 
   test fail in test activation
   '''
   ====================================================================
   
   FAIL: test_operator.test_activation
   
   ----------------------------------------------------------------------
   
   Traceback (most recent call last):
   
     File "C:\Anaconda3\envs\py3\lib\site-packages\nose\case.py", line 197, in 
runTest
   
       self.test(*self.arg)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\tests\python\unittest\common.py", 
line 173, in test_new
   
       orig_test(*args, **kwargs)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\tests\python\unittest\test_operator.py",
 line 6820, in test_activation
   
       name, op[0], shape, op[3], op[4], rtol_fd, atol_fd, num_eps)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\tests\python\unittest\test_operator.py",
 line 6086, in finite_diff_unary_op
   
       check_grad(op_ex, [data_np])
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\tests\python\unittest\test_operator.py",
 line 6079, in <lambda>
   
       atol=atol, dtype=dtype)
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\windows_package\python\mxnet\test_utils.py",
 line 921, in check_numeric_gradient
   
       ("NUMERICAL_%s"%name, "BACKWARD_%s"%name))
   
     File 
"C:\jenkins_slave\workspace\ut-python-gpu\windows_package\python\mxnet\test_utils.py",
 line 495, in assert_almost_equal
   
       raise AssertionError(msg)
   
   AssertionError: 
   
   Items are not equal:
   
   Error 113966.931334 exceeds tolerance rtol=0.000010, atol=0.000001.  
Location of maximum error:(0, 4, 8, 3), a=0.113967, b=0.000000
   
    NUMERICAL_data: array([[[[ 0.        ,  0.68042432,  0.        , ...,  
0.34353021,
   
              0.13880596,  0.94525056],
   
            [ 0.11517657,  0.18770058,  0.30324909, ...,  0.97787645,...
   
    BACKWARD_data: array([[[[ 0.        ,  0.68042432,  0.        , ...,  
0.34353021,
   
              0.13880596,  0.94525056],
   
            [ 0.11517657,  0.18770058,  0.30324909, ...,  0.97787645,...
   
   -------------------- >> begin captured logging << --------------------
   
   common: INFO: Setting test np/mx/python random seeds, use 
MXNET_TEST_SEED=1553516940 to reproduce.
   
   --------------------- >> end captured logging << ---------------------
   '''

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


With regards,
Apache Git Services

Reply via email to