Fix metrics logging when `lr_scheduler` is None.
Fix metrics logging when `lr_scheduler` is None.
mrcslws/nupic.research,numenta/nupic.research,mrcslws/nupic.research,subutai/nupic.research,subutai/nupic.research,numenta/nupic.research