Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

flaky test: test_gluon_data_vision.test_random_transforms #17369

Open
haojin2 opened this issue Jan 18, 2020 · 5 comments
Open

flaky test: test_gluon_data_vision.test_random_transforms #17369

haojin2 opened this issue Jan 18, 2020 · 5 comments
Labels

Comments

@haojin2
Copy link
Contributor

haojin2 commented Jan 18, 2020

http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-17358/2/pipeline

======================================================================

ERROR: test_gluon_data_vision.test_random_transforms

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/usr/local/lib/python3.5/dist-packages/nose/case.py", line 198, in runTest

    self.test(*self.arg)

  File "/work/mxnet/tests/python/unittest/common.py", line 221, in test_new

    orig_test(*args, **kwargs)

  File "/work/mxnet/tests/python/unittest/test_gluon_data_vision.py", line 246, in test_random_transforms

    assert_almost_equal(num_apply/float(iteration), 0.5, 0.1)

  File "/work/mxnet/python/mxnet/test_utils.py", line 602, in assert_almost_equal

    print('\n*** Maximum errors for vector of size {}:  rtol={}, atol={}\n'.format(a.size, rtol, atol))

AttributeError: 'float' object has no attribute 'size'

-------------------- >> begin captured logging << --------------------

common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=480703277 to reproduce.

--------------------- >> end captured logging << ---------------------
@ChaiBapchya
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants