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/31 18:15:06 UTC

[GitHub] [incubator-mxnet] apeforest commented on a change in pull request #15098: Add epsilon for tolerance level to fix flaky test random_resize_crop

apeforest commented on a change in pull request #15098: Add epsilon for tolerance level to fix flaky test random_resize_crop
URL: https://github.com/apache/incubator-mxnet/pull/15098#discussion_r289499080
 
 

 ##########
 File path: tests/python/unittest/test_image.py
 ##########
 @@ -356,17 +356,18 @@ def test_det_augmenters(self):
             pass
 
     @with_seed()
-    @unittest.skip('Flaky test. Skipping until a solution can be found. Tracked by https://github.com/apache/incubator-mxnet/issues/14718')
     def test_random_size_crop(self):
         # test aspect ratio within bounds
         width = np.random.randint(100, 500)
         height = np.random.randint(100, 500)
         src = np.random.rand(height, width, 3) * 255.
         ratio = (0.75, 1)
+        epsilon = 0.05
 
 Review comment:
   how do we decide epsilon? is 0.05 too large here?

----------------------------------------------------------------
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