Skip to content

Commit

Permalink
Rebased on develop
Browse files Browse the repository at this point in the history
  • Loading branch information
icedoom888 committed Dec 18, 2024
1 parent 498a792 commit 8797fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/training/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def model(self) -> GraphForecaster:
model = transfer_learning_loading(model, self.last_checkpoint)
else:
LOGGER.info("Restoring only model weights from %s", self.last_checkpoint)
model = model.load_from_checkpoint(self.last_checkpoint, **kwargs, strict=False)
model = GraphForecaster.load_from_checkpoint(self.last_checkpoint, **kwargs, strict=False)

if hasattr(self.config.training, "submodules_to_freeze"):
# Freeze the chosen model weights
Expand Down

0 comments on commit 8797fb3

Please sign in to comment.