Skip to content

Commit

Permalink
Merge pull request #21 from RasmusOrsoe/main
Browse files Browse the repository at this point in the history
update from main
  • Loading branch information
RasmusOrsoe authored Feb 8, 2024
2 parents 36a2384 + 5c93a7a commit 7c4fdfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/graphnet/models/standard_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ def training_step(
on_step=False,
sync_dist=True,
)

current_lr = self.trainer.optimizers[0].param_groups[0]["lr"]
self.log("lr", current_lr, prog_bar=True, on_step=True)
return loss

def validation_step(
Expand Down

0 comments on commit 7c4fdfb

Please sign in to comment.