Skip to content
Discussion options

You must be logged in to vote

--agent.resume True resumes the training checkpoint, not the W&B run. In current mjlab, that flag only selects and loads a checkpoint; RSL-RL 5.4.2 then calls wandb.init() without an id or resume, so W&B creates a new run.

Set W&B's run ID and resume mode in the environment when restarting:

WANDB_RUN_ID=<existing-run-id> WANDB_RESUME=must \
  uv run train <task> --agent.resume True

Use the ID from the existing W&B run, not its display name. If the checkpoint is only in W&B, add --wandb-run-path <entity>/<project>/<run-id> as well; that chooses the checkpoint, while the two environment variables choose the W&B run.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@GF-Huang
Comment options

@CasperKristiansson
Comment options

@GF-Huang
Comment options

@GF-Huang
Comment options

@GF-Huang
Comment options

Answer selected by GF-Huang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants