Skip to content

Commit

Permalink
Merge pull request #32 from microsoft/wesselb/minor-clarifications
Browse files Browse the repository at this point in the history
Minor clarifications
  • Loading branch information
a-lucic authored Sep 13, 2024
2 parents 171613d + 109600f commit 8fecaee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions aurora/model/aurora.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ def forward(self, batch: Batch) -> Batch:
Args:
batch (:class:`Batch`): Batch to run the model on.
Raises:
ValueError: If no metric is provided.
Returns:
:class:`Batch`: Prediction for the batch.
"""
Expand Down
2 changes: 1 addition & 1 deletion docs/finetuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ model = Aurora(
static_vars=("lsm", "z", "slt", "new_static_var"),
atmos_vars=("z", "u", "v", "t", "q", "new_atmos_var"),
)
model.load_checkpoint("microsoft/aurora", "aurora-0.25-pretrained.ckpt")
model.load_checkpoint("microsoft/aurora", "aurora-0.25-pretrained.ckpt", strict=False)

# Normalisation means:
locations["new_surf_var"] = 0.0
Expand Down

0 comments on commit 8fecaee

Please sign in to comment.