From f1050c5c3a29aadc03d7dbe345d26baf39cd65eb Mon Sep 17 00:00:00 2001 From: Hao Jin Date: Thu, 2 Aug 2018 22:40:34 +0000 Subject: [PATCH] remove fixed seed for test_triplet_loss --- tests/python/unittest/test_loss.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/python/unittest/test_loss.py b/tests/python/unittest/test_loss.py index 3c147bc4c723..f20173e610d3 100644 --- a/tests/python/unittest/test_loss.py +++ b/tests/python/unittest/test_loss.py @@ -327,8 +327,9 @@ def test_squared_hinge_loss(): optimizer='adam') assert mod.score(data_iter, eval_metric=mx.metric.Loss())[0][1] < 0.05 - -@with_seed(1234) +# @haojin2: removing fixed seed as it's no longer flaky, +# tracked at https://github.com/apache/incubator-mxnet/issues/11703 +@with_seed() def test_triplet_loss(): N = 20 data = mx.random.uniform(-1, 1, shape=(N, 10))