Log lr for param groups (#159)
This commit is contained in:
parent
e79ea1666c
commit
9a2f67b3b4
2 changed files with 4 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ def on_fit_epoch_end(trainer):
|
|||
|
||||
def on_train_epoch_end(trainer):
|
||||
wandb.run.log(trainer.label_loss_items(trainer.tloss, prefix="train"), step=trainer.epoch + 1)
|
||||
wandb.run.log(trainer.lr, step=trainer.epoch + 1)
|
||||
if trainer.epoch == 1:
|
||||
wandb.run.log({f.stem: wandb.Image(str(f))
|
||||
for f in trainer.save_dir.glob('train_batch*.jpg')},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue