Skip to content

Commit

Permalink
fix model typo in train CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
zouharvi authored Dec 13, 2024
1 parent ffe20c6 commit 759c020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comet/cli/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def initialize_model(configs):
)
if configs.load_from_checkpoint is not None:
logger.info(f"Loading weights from {configs.load_from_checkpoint}.")
model = ReferencelessRegression.load_from_checkpoint(
model = RankingMetric.load_from_checkpoint(
checkpoint_path=configs.load_from_checkpoint,
strict=configs.strict_load,
**namespace_to_dict(configs.ranking_metric.init_args),
Expand Down

0 comments on commit 759c020

Please sign in to comment.