metrics from "sanity check" do not appear on wandb / epoch 1 becomes 0
❓ Questions and Help
What is your question?
I'm using so called "sanity check" to run actual full validation before I do any training, using num_sanity_val_steps=-1
however I could not see any metrics displayed on wandb.
Eventually I had to implement custom validation_epoch_end
where instead of log_dict I'm using
self.logger.agg_and_log_metrics(metrics, step=self.current_epoch + 1)
the question is if there is more normal / straight-forward way to do this?
I still have to implement custom training_epoch_end, because currently validation epoch 1 corresponds to training epoch 0. Essentially how I see it is validation curve on wandb starting from epoch 0, training epoch starting from 1, and this being achieved by some sort of "don't decrement epoch number" kind of parameter...
Thanks!
What's your environment?
currently using PL  1.0.8 and wandb 0.10.12