Skip to content

Commit 28447a8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 37b16e9 commit 28447a8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/source/common/optimizers.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ If you want to call schedulers that require a metric value after each epoch, con
242242
super().__init__()
243243
self.automatic_optimization = False
244244

245+
245246
def training_epoch_end(self, outputs):
246247
sch = self.lr_schedulers()
247248

docs/source/common/test_set.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To run the test set after training completes, use this method.
2020
trainer.fit(model)
2121
2222
# (1) load the best checkpoint automatically (lightning tracks this for you)
23-
trainer.test(ckpt_path='best')
23+
trainer.test(ckpt_path="best")
2424
2525
# (2) test using a specific checkpoint
2626
trainer.test(ckpt_path="/path/to/my_checkpoint.ckpt")

0 commit comments

Comments
 (0)