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

Commit

Permalink
remove fixed seed for test_triplet_loss
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao Jin committed Aug 2, 2018
1 parent bcfab3a commit f1050c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/python/unittest/test_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f1050c5

Please sign in to comment.