Skip to content

Commit

Permalink
removed hparams req
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Jul 25, 2019
1 parent b0d38d5 commit d0d5653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, hparams):
:param hparams:
"""
# init superclass
super(LightningTemplateModel, self).__init__(hparams)
super(LightningTemplateModel, self).__init__()

self.batch_size = hparams.batch_size

Expand Down
2 changes: 1 addition & 1 deletion pytorch_lightning/testing_models/lm_test_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, hparams, force_remove_distributed_sampler=False):
:param hparams:
"""
# init superclass
super(LightningTestModel, self).__init__(hparams)
super(LightningTestModel, self).__init__()

self.batch_size = hparams.batch_size

Expand Down

0 comments on commit d0d5653

Please sign in to comment.