Skip to content

Commit

Permalink
Add logger.
Browse files Browse the repository at this point in the history
  • Loading branch information
KanaiYuma-aist committed Jan 28, 2025
1 parent 694f005 commit 6e4b9e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/torch/MNIST/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
trainer:
logger: True
max_epochs: 10
callbacks:
- _target_: lightning.pytorch.callbacks.ModelCheckpoint
Expand Down
1 change: 1 addition & 0 deletions examples/torch/MNIST/config_ddp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ trainer:
accelerator: "gpu"
devices: 8
strategy: "ddp"
logger: True
max_epochs: 10
callbacks:
- _target_: lightning.pytorch.callbacks.ModelCheckpoint
Expand Down

0 comments on commit 6e4b9e0

Please sign in to comment.