mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Support pytorch-lightning CLI >=2.0
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
trainer:
|
||||
callbacks:
|
||||
- class_path: pytorch_lightning.callbacks.LearningRateMonitor
|
||||
- class_path: lightning.pytorch.callbacks.LearningRateMonitor
|
||||
init_args:
|
||||
logging_interval: epoch
|
||||
- class_path: pytorch_lightning.callbacks.ModelCheckpoint
|
||||
- class_path: lightning.pytorch.callbacks.ModelCheckpoint
|
||||
init_args:
|
||||
filename: best
|
||||
save_last: False
|
||||
save_top_k: 1
|
||||
monitor: loss
|
||||
mode: min
|
||||
max_epochs: 10
|
||||
|
||||
Reference in New Issue
Block a user