Skip to content

Commit

Permalink
No hparams check
Browse files Browse the repository at this point in the history
  • Loading branch information
yardenas committed Sep 1, 2024
1 parent 52da358 commit 2454f59
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion safe_opax/rl/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ def _run_training_epoch(
def from_pickle(cls, config: DictConfig, state_path: str) -> "Trainer":
with open(state_path, "rb") as f:
make_env, seeds, agent, epoch, step = cloudpickle.load(f).values()
assert agent.config == config, "Loaded different hyperparameters."
_LOG.info(f"Resuming from step {step}")
return cls(
config=agent.config,
Expand Down

0 comments on commit 2454f59

Please sign in to comment.