moved sampler

This commit is contained in:
William Falcon
2019-07-08 19:11:16 -04:00
parent cf4b25e455
commit 0bcc858cef
2 changed files with 3 additions and 6 deletions
@@ -93,9 +93,6 @@ class LightningModule(GradInformation, ModelIO, OptimizerConfig, ModelHooks):
model_summary = ModelSummary(self)
print(model_summary)
def nb_batches(self, dataloader):
a = math.ceil(float(len(dataloader.dataset) / self.batch_size))
return int(a)
def freeze(self):
for param in self.parameters():