-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedOpen to be worked onOpen to be worked onloggerRelated to the LoggersRelated to the Loggerspriority: 1Medium priority taskMedium priority taskwon't fixThis will not be worked onThis will not be worked on
Description
🐛 Bug
As you can see in the BoringModel, I get the following warnings from WandB logger:
wandb: WARNING Step must only increase in log calls. Step 49 < 98; dropping {'lr-SGD': 0.1}.
wandb: WARNING Step must only increase in log calls. Step 99 < 198; dropping {'lr-SGD': 0.1}.
wandb: WARNING Step must only increase in log calls. Step 149 < 199; dropping {'lr-SGD': 0.1}.
wandb: WARNING Step must only increase in log calls. Step 149 < 298; dropping {'lr-SGD': 0.1}.
wandb: WARNING Step must only increase in log calls. Step 156 < 299; dropping {'val_loss': 3.9880808209860966e-14, 'epoch': 0}.
This occurs when I add the following to the basic BordigModel:
- log train loss with
self.log() - add WandB logger
- add
accumulate_grad_batches > 1 - either add
LearningRateMonitorcallback or log validation loss withself.log()(or both, as in the colab)
If any of these things is removed, the error doesn't occur.
The end result is that the LR metrics are note being logged at all. Worse than that, validation loss (and any other metrics that there would be!) do not get logged, making the logger useless.
alexander-soare
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedOpen to be worked onOpen to be worked onloggerRelated to the LoggersRelated to the Loggerspriority: 1Medium priority taskMedium priority taskwon't fixThis will not be worked onThis will not be worked on