updated args
This commit is contained in:
parent
d3b621dfd2
commit
bac0ef2d44
|
@ -77,7 +77,7 @@ class ExampleModel(RootModule):
|
|||
output = OrderedDict({
|
||||
'loss_val': loss_val,
|
||||
})
|
||||
return output
|
||||
return torch.tensor(4)
|
||||
|
||||
def validation_step(self, data_batch, batch_i):
|
||||
"""
|
||||
|
@ -100,7 +100,7 @@ class ExampleModel(RootModule):
|
|||
'loss_val': loss_val,
|
||||
'val_acc': val_acc,
|
||||
})
|
||||
return output
|
||||
return torch.tensor(4)
|
||||
|
||||
|
||||
def validation_end(self, outputs):
|
||||
|
|
Loading…
Reference in New Issue