Skip to content
Snippets Groups Projects
Commit 7ed6145b authored by Daniel CARRON's avatar Daniel CARRON :b:
Browse files

Fixed loading of learning rate

parent 6290c1bd
No related branches found
No related tags found
1 merge request!4Moved code to lightning
......@@ -46,7 +46,7 @@ class LoggingCallback(Callback):
self.log("total_time", current_time)
self.log("eta", eta_seconds)
self.log("loss", numpy.average(self.training_loss))
self.log("learning_rate", pl_module.lr)
self.log("learning_rate", pl_module.hparams["optimizer_params"]["lr"])
self.log("validation_loss", numpy.average(self.validation_loss))
queue_retries = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment