Logging metrics on validation epoch end

Hello, I’m using PyTorch Lightning v1.0.8

I want to log some metrics when the validation epoch ends but when I use self.log() in the hook on_validation_epoch_end it does not log anything, neither does it throw any error/warning.

The trainer if only logging metrics during steps (I’m using trainer.logged_metrics to check the metrics)
Can someone please tell me how to log metrics in the epoch end hooks?
Thanks!

Hey there,

Did you try using master ?

Best regards,
T.C

Hi @tchaton, Thanks for your reply.

I’m sorry, I didn’t understand using master, could you please elaborate?

can you try using the master branch?
For that, you need to pip install from GitHub directly using:

pip install git+https://github.com/PyTorchLightning/pytorch-lightning.git

@goku
That fixed the issue. Thanks!