changed read me

This commit is contained in:
William Falcon 2019-06-28 13:53:00 -04:00
parent a7bb4f893a
commit d83f6bb9c9
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class LightningTemplateModel(LightningModule):
return whatever optimizers we want here
:return: list of optimizers
"""
optimizer = optim.Adam(lr=self.hparams.learning_rate)
optimizer = optim.Adam(self.parameters(), lr=self.hparams.learning_rate)
return [optimizer]
def __dataloader(self, train):