wenyangchu commented on issue #11247: Add seed_aug parameter for ImageRecordItr 
to fix random seed for default augmentation
URL: https://github.com/apache/incubator-mxnet/pull/11247#issuecomment-397479222
 
 
   I have test failure but not from this PR, anyone has idea?
   
   FAIL: test_operator.test_binary_op
   
   ----------------------------------------------------------------------
   
   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-cpu@3\tests\python\unittest\common.py", 
line 157, in test_new
   
       orig_test(*args, **kwargs)
   
     File 
"C:\jenkins_slave\workspace\ut-python-cpu@3\tests\python\unittest\test_operator.py",
 line 1667, in test_binary_op
   
       test_bmod(a, b)
   
     File 
"C:\jenkins_slave\workspace\ut-python-cpu@3\tests\python\unittest\test_operator.py",
 line 1643, in test_bmod
   
       lambda g_out, a, b: (g_out, - g_out * (np.float32(a) // np.float32(b))), 
gen_binary_data)
   
     File 
"C:\jenkins_slave\workspace\ut-python-cpu@3\tests\python\unittest\test_operator.py",
 line 1609, in check_binary_op_backward
   
       assert_allclose(y_2.asnumpy(), x_2, rtol=rtol, atol=atol)
   
     File "C:\Anaconda3\envs\py3\lib\site-packages\numpy\testing\utils.py", 
line 1411, in assert_allclose
   
       verbose=verbose, header=header, equal_nan=equal_nan)
   
     File "C:\Anaconda3\envs\py3\lib\site-packages\numpy\testing\utils.py", 
line 796, in assert_array_compare
   
       raise AssertionError(msg)
   
   AssertionError: 
   
   Not equal to tolerance rtol=0.001, atol=1e-05
   
   
   
   (mismatch 0.3333333333333286%)
   
    x: array([[[[ -6.806614e-01,  -0.000000e+00,  -8.825930e-01],
   
            [ -0.000000e+00,  -0.000000e+00,  -6.066817e-01],
   
            [ -9.178746e-01,  -3.991766e-01,  -0.000000e+00],...
   
    y: array([[[[ -6.806614e-01,  -0.000000e+00,  -8.825930e-01],
   
            [ -0.000000e+00,  -0.000000e+00,  -6.066817e-01],
   
            [ -9.178747e-01,  -3.991766e-01,  -0.000000e+00],...
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to