Skip to content

Commit

Permalink
fix issue #7: checkpoint key
Browse files Browse the repository at this point in the history
  • Loading branch information
EMCarrami committed May 19, 2024
1 parent 2bd8495 commit 57f7770
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pika/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def __init__(self, config: Dict[str, Any], inference_only: bool = False) -> None
config["model"].update(dict(self.model.hparams))
self.model_state = "pretrained"
else:
config["model"].pop("checkpoint", None)
self.model = PikaModel(**config["model"])
self.model_state = "init"

Expand Down

0 comments on commit 57f7770

Please sign in to comment.