From 9b46f1323075bec4e6ce180ea471ed9a8e1f1fb3 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Tue, 25 Jun 2019 20:20:12 -0400 Subject: [PATCH] updated args --- docs/source/examples/example_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/examples/example_model.py b/docs/source/examples/example_model.py index 45a00ec073..8f319a27c8 100644 --- a/docs/source/examples/example_model.py +++ b/docs/source/examples/example_model.py @@ -97,7 +97,7 @@ class ExampleModel(RootModule): # output = {'y_hat': y_hat, 'val_loss': loss_val.item(), 'val_acc': val_acc} output = OrderedDict({ - 'loss_val': loss_val, + 'val_loss': loss_val, 'val_acc': torch.tensor(val_acc), }) return output