how to log metrics with None value at beginning at on_train_start #9036
Unanswered
quancs
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 2 replies
-
You can log 0 instead of None. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my case, I don't know the initial value of
val/neg_si_sdr
andval/fploss
. So, how can I set them to None at beginning?Below is my code to set them to None at beginning:
But I receive this:
Beta Was this translation helpful? Give feedback.
All reactions