Skip to content

Commit

Permalink
bugfix indexing batch-index for time
Browse files Browse the repository at this point in the history
  • Loading branch information
sadamov committed Jan 13, 2025
1 parent 7316a00 commit 6672756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neural_lam/models/ar_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def plot_examples(self, batch, n_examples, split, prediction=None):
prediction, target, _, _ = self.common_step(batch)

target = batch[1]
time = batch[3]
time = batch[-1]

# Rescale to original data scale
prediction_rescaled = prediction * self.state_std + self.state_mean
Expand Down

0 comments on commit 6672756

Please sign in to comment.