updated args

This commit is contained in:
William Falcon
2019-06-25 20:12:41 -04:00
parent 7cb6e34beb
commit 0460821398
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ class ExampleModel(RootModule):
output = OrderedDict({
'loss_val': loss_val,
})
return torch.tensor(4)
return output
def validation_step(self, data_batch, batch_i):
"""
@@ -102,7 +102,7 @@ class ExampleModel(RootModule):
'loss_val': loss_val,
'val_acc': val_acc,
})
return torch.tensor(4)
return output
def validation_end(self, outputs):