Skip to content

Commit

Permalink
Fix test for lightning 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Kuehmichel committed Oct 27, 2023
1 parent b87f433 commit 935ffdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/module_tests/test_trainable.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_continue_training(dummy_model):
print("Finished Training. Loading Checkpoint.")
checkpoint = find_checkpoint()

trained_model = dummy_model.load_from_checkpoint(checkpoint)
trained_model = dummy_model.__class__.load_from_checkpoint(checkpoint)

print("Continuing Training.")
trained_model.fit(
Expand Down

0 comments on commit 935ffdd

Please sign in to comment.