Skip to content

Commit 8919406

Browse files
authored
Fix dead links in callback configs (#557)
1 parent 1ff28ce commit 8919406

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

configs/callbacks/early_stopping.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# https://pytorch-lightning.readthedocs.io/en/latest/api/lightning.callbacks.EarlyStopping.html
1+
# https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.callbacks.EarlyStopping.html
22

3-
# Monitor a metric and stop training when it stops improving.
4-
# Look at the above link for more detailed information.
53
early_stopping:
64
_target_: lightning.pytorch.callbacks.EarlyStopping
75
monitor: ??? # quantity to be monitored, must be specified !!!

configs/callbacks/model_checkpoint.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# https://pytorch-lightning.readthedocs.io/en/latest/api/lightning.callbacks.ModelCheckpoint.html
1+
# https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.callbacks.ModelCheckpoint.html
22

3-
# Save the model periodically by monitoring a quantity.
4-
# Look at the above link for more detailed information.
53
model_checkpoint:
64
_target_: lightning.pytorch.callbacks.ModelCheckpoint
75
dirpath: null # directory to save the model file
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# https://pytorch-lightning.readthedocs.io/en/latest/api/lightning.callbacks.RichModelSummary.html
1+
# https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.callbacks.RichModelSummary.html
22

3-
# Generates a summary of all layers in a LightningModule with rich text formatting.
4-
# Look at the above link for more detailed information.
53
model_summary:
64
_target_: lightning.pytorch.callbacks.RichModelSummary
75
max_depth: 1 # the maximum depth of layer nesting that the summary will include
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# https://pytorch-lightning.readthedocs.io/en/latest/api/lightning.callbacks.RichProgressBar.html
1+
# https://lightning.ai/docs/pytorch/latest/api/lightning.pytorch.callbacks.RichProgressBar.html
22

3-
# Create a progress bar with rich text formatting.
4-
# Look at the above link for more detailed information.
53
rich_progress_bar:
64
_target_: lightning.pytorch.callbacks.RichProgressBar

0 commit comments

Comments
 (0)