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 2019/05/29 22:15:40 UTC

[GitHub] [incubator-mxnet] stu1130 opened a new pull request #15098: add epsilon for tolerance level for flaky test random_resize_crop

stu1130 opened a new pull request #15098: add epsilon for tolerance level for flaky test random_resize_crop
URL: https://github.com/apache/incubator-mxnet/pull/15098
 
 
   ## Description ##
   check all the seeds listed below 
   1948053179 -> 80 107 
   1781948197 -> 80 107 
   2015925942 -> 110 147 
   869412463 -> 155/207 
   1765468767 -> 92/123 
   Those ration of width and height are around 0.748 and cross compared with Pytorch unit test found out that we need epsilon. 
   
   ran 10k times
   ```
   # I comment all the unit tests except test_random_size_crop
   MXNET_TEST_COUNT=10000 nosetests --logging-level=DEBUG --verbose -s test_image.py
   ...
   [DEBUG] 9984 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=985181154 to reproduce.
   [DEBUG] 9985 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=364814904 to reproduce.
   [DEBUG] 9986 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=670967044 to reproduce.
   [DEBUG] 9987 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=323906397 to reproduce.
   [DEBUG] 9988 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=918973098 to reproduce.
   [DEBUG] 9989 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=770423479 to reproduce.
   [DEBUG] 9990 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=480885263 to reproduce.
   [DEBUG] 9991 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1533878544 to reproduce.
   [DEBUG] 9992 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1124265466 to reproduce.
   [DEBUG] 9993 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1208755314 to reproduce.
   [DEBUG] 9994 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=454440019 to reproduce.
   [DEBUG] 9995 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=647574282 to reproduce.
   [DEBUG] 9996 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1521865091 to reproduce.
   [DEBUG] 9997 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1304174751 to reproduce.
   [DEBUG] 9998 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1949421096 to reproduce.
   [DEBUG] 9999 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=732334938 to reproduce.
   [DEBUG] 10000 of 10000: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1699843029 to reproduce.
   ok
   cleanup /tmp/tmp6Lg6ez
   
   ----------------------------------------------------------------------
   Ran 1 test in 192.979s
   
   OK
   ```
   
   ## Checklist ##
   ### Essentials ###
   Please feel free to remove inapplicable items for your PR.
   - [x] Changes are complete (i.e. I finished coding on this PR)
   - [x] All changes have test coverage:
   - Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
   - Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
   - Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
   - [x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change
   
   ### Changes ###
   
   
   ## Comments ##
   @zhreshold @abhinavs95 
   

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


With regards,
Apache Git Services