Update README.md
This commit is contained in:
parent
24255a9eab
commit
97f8291242
|
@ -56,7 +56,6 @@ class ExampleModel(RootModule):
|
||||||
optimizer = self.choose_optimizer('adam', self.parameters(), {'lr': self.hparams.learning_rate}, 'optimizer')
|
optimizer = self.choose_optimizer('adam', self.parameters(), {'lr': self.hparams.learning_rate}, 'optimizer')
|
||||||
return [optimizer]
|
return [optimizer]
|
||||||
|
|
||||||
# LIGHTING WILL USE THE LOADERS YOU DEFINE HERE
|
|
||||||
@property
|
@property
|
||||||
def tng_dataloader(self):
|
def tng_dataloader(self):
|
||||||
return pytorch_dataloader('train')
|
return pytorch_dataloader('train')
|
||||||
|
|
Loading…
Reference in New Issue