We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72c82fb commit c5e426bCopy full SHA for c5e426b
tests/tests_pytorch/tuner/test_lr_finder.py
@@ -410,6 +410,6 @@ def __init__(self):
410
411
model = TestModel()
412
trainer = Trainer(default_root_dir=tmpdir)
413
- lr_finder = trainer.tuner.lr_find(model=model, num_training=1) # force insufficient data points
+ lr_finder = trainer.tuner.lr_find(model=model, update_attr=True, num_training=1) # force insufficient data points
414
assert lr_finder.suggestion() is None
415
assert model.learning_rate == 0.123 # must remain unchanged because suggestion is not possible
0 commit comments