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 8821df0 commit da5276bCopy full SHA for da5276b
tests/tests_pytorch/callbacks/test_weight_averaging.py
@@ -415,6 +415,7 @@ def test_ema_weight_averaging_should_update(tmp_path):
415
def test_ema_weight_averaging_checkpoint_save_load(tmp_path):
416
"""Test that EMAWeightAveraging correctly saves and loads checkpoints."""
417
model = TestModel()
418
+ model.crash_on_epoch = 2
419
dataset = RandomDataset(32, 32)
420
421
callback = EMAWeightAveraging(decay=0.99, update_every_n_steps=2)
0 commit comments