Skip to content

Commit

Permalink
Update pytorch_training.py
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacmg authored Aug 5, 2020
1 parent 204e7c3 commit 0cae9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flood_forecast/pytorch_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def compute_validation(validation_loader: DataLoader,
:,
0]
else:
output = simple_decode(model, src, targ.shape[1], targ, 1)[:, :, 0]
output = simple_decode(model, src, targ.shape[1], targ, sequence_size)[:, :, 0]
else:
output = model(src.float())
labels = targ[:, :, 0]
Expand Down

0 comments on commit 0cae9d5

Please sign in to comment.