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

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul003 committed Aug 17, 2018
1 parent 44a5af4 commit 9ca2dd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/python/unittest/test_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ def test_adagrad():

def test_factor_scheduler():
base_lr = 1
step = 50
step = 100
factor = 0.1
sched = mx.lr_scheduler.FactorScheduler(step, factor, stop_factor_lr=1e-4, base_lr=base_lr,
warmup_steps=20, warmup_begin_lr=0.1, warmup_mode='constant')
Expand Down Expand Up @@ -1085,7 +1085,6 @@ def test_cosine_scheduler():
np.testing.assert_almost_equal(cosine_sched(0), base_lr)
np.testing.assert_almost_equal(cosine_sched(steps), final_lr)
assert (cosine_sched(500) > 1.5)
assert False

if __name__ == '__main__':
import nose
Expand Down

0 comments on commit 9ca2dd9

Please sign in to comment.