get rid of unnecessary code
@@ -563,9 +563,6 @@ class TorchAgent(Agent):
elif self.opt['lr_scheduler'] == 'invsqrt':
# this is a training step lr scheduler, nothing to adjust in validation
pass
- elif self.opt['lr_scheduler'] == 'none':
- # no adjustments, do nothing
- pass
else:
raise ValueError(
"Don't know how to work with lr scheduler '{}'"
