You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ns...@apache.org on 2018/08/08 23:48:50 UTC

[incubator-mxnet] branch master updated: remove fixed seed for test_triplet_loss (#12011)

This is an automated email from the ASF dual-hosted git repository.

nswamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new ef89138  remove fixed seed for test_triplet_loss (#12011)
ef89138 is described below

commit ef891386e200af3197131d0be4874c35bed10a4e
Author: Hao Jin <ha...@users.noreply.github.com>
AuthorDate: Wed Aug 8 19:48:40 2018 -0400

    remove fixed seed for test_triplet_loss (#12011)
---
 tests/python/unittest/test_loss.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/python/unittest/test_loss.py b/tests/python/unittest/test_loss.py
index 1da6244..f14dd55 100644
--- a/tests/python/unittest/test_loss.py
+++ b/tests/python/unittest/test_loss.py
@@ -328,7 +328,7 @@ def test_squared_hinge_loss():
     assert mod.score(data_iter, eval_metric=mx.metric.Loss())[0][1] < 0.05
 
 
-@with_seed(1234)
+@with_seed()
 def test_triplet_loss():
     N = 20
     data = mx.random.uniform(-1, 1, shape=(N, 10))