You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/28 08:59:46 UTC

[GitHub] KellenSunderland opened a new issue #11456: test_quantization.test_get_optimal_thresholds sometimes fails during testing.

KellenSunderland opened a new issue #11456: test_quantization.test_get_optimal_thresholds sometimes fails during testing.
URL: https://github.com/apache/incubator-mxnet/issues/11456
 
 
   ## Example Run
   http://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/incubator-mxnet/branches/PR-11422/runs/20/nodes/656/log/?start=0
   
   ## Failing Output
   
   ```
   test_quantization.test_get_optimal_thresholds ... [INFO] Setting test np/mx/python random seeds, use MXNET_TEST_SEED=916054564 to reproduce.
   FAIL
   
   ======================================================================
   FAIL: test_quantization.test_get_optimal_thresholds
   ----------------------------------------------------------------------
   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/quantization/common.py", line 157, in test_new
       orig_test(*args, **kwargs)
     File "/work/mxnet/tests/python/quantization/test_quantization.py", line 500, in test_get_optimal_thresholds
       assert_almost_equal(np.array([th_dict['layer1'][1]]), expected_threshold, rtol=0.001, atol=0.001)
     File "/work/mxnet/python/mxnet/test_utils.py", line 493, in assert_almost_equal
       raise AssertionError(msg)
   AssertionError: 
   Items are not equal:
   Error 1.148570 exceeds tolerance rtol=0.001000, atol=0.001000.  Location of maximum error:(0,), a=11.327124, b=11.341299
    a: array([11.32712421])
    b: array([11.341299], dtype=float32)
   -------------------- >> begin captured logging << --------------------
   common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=916054564 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:
users@infra.apache.org


With regards,
Apache Git Services