removed hparams req

This commit is contained in:
William Falcon 2019-07-25 12:09:09 -04:00
parent 20227b1382
commit 9b99a02061
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class LightningTemplateModel(LightningModule):
"""
# init superclass
super(LightningTemplateModel, self).__init__()
self.hparams = hparams
self.batch_size = hparams.batch_size

View File

@ -26,6 +26,7 @@ class LightningTestModel(LightningModule):
"""
# init superclass
super(LightningTestModel, self).__init__()
self.hparams = hparams
self.batch_size = hparams.batch_size