Skip to content

Commit

Permalink
remove artifacts from earlier merging/rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
khintz committed Dec 11, 2024
1 parent b5ebe6f commit ae69f3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neural_lam/models/ar_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def __init__(
# Store constant per-variable std.-dev. weighting
# NOTE that this is the inverse of the multiplicative weighting
# in wMSE/wMAE
# TODO: Do we need param_weights for this?
self.register_buffer(
"per_var_std",
self.diff_std / torch.sqrt(self.feature_weights),
Expand Down Expand Up @@ -262,7 +261,7 @@ def unroll_prediction(self, init_states, forcing_features, true_states):
pred_std_list, dim=1
) # (B, pred_steps, num_grid_nodes, d_f)
else:
pred_std = self.diff_std # (d_f,)
pred_std = self.per_var_std # (d_f,)

return prediction, pred_std

Expand Down

0 comments on commit ae69f3f

Please sign in to comment.