clean up template

This commit is contained in:
hobogalaxy committed 2020-11-05 02:21:37 +01:00
1 parent 4abd0e2bc9
commit 8fd92337bc
5 files changed
+50 -56

No files matched your search

+1 -2
View File
@@ -15,9 +15,8 @@ class LitModel(pl.LightningModule):
def __init__(self, config):
super().__init__()
self.save_hyperparameters(config)
self.save_hyperparameters(config["hparams"])
self.model = ModelMNISTv1(config=self.hparams.model)
# self.model = ModelMNISTv2(config=self.hparams.model)
def forward(self, data):
return self.model(data)