removed hparams req
This commit is contained in:
parent
20227b1382
commit
9b99a02061
|
@ -26,6 +26,7 @@ class LightningTemplateModel(LightningModule):
|
|||
"""
|
||||
# init superclass
|
||||
super(LightningTemplateModel, self).__init__()
|
||||
self.hparams = hparams
|
||||
|
||||
self.batch_size = hparams.batch_size
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ class LightningTestModel(LightningModule):
|
|||
"""
|
||||
# init superclass
|
||||
super(LightningTestModel, self).__init__()
|
||||
self.hparams = hparams
|
||||
|
||||
self.batch_size = hparams.batch_size
|
||||
|
||||
|
|
Loading…
Reference in New Issue