Skip to content

Conversation

@GiulioRomualdi
Copy link
Member

This PR adds a function to update the W&B run name, reverting the change made in leggedrobotics/rsl_rl@b9f9e69, which renamed the run using the log folder name.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts a previous change by reintroducing a function that updates the W&B run name by appending a sequence number.

  • Reformats the all declaration in init.py for better readability
  • Introduces update_run_name_with_sequence in amp_on_policy_runner.py to retrieve runs via wandb’s API and update the run name accordingly

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
amp_rsl_rl/utils/init.py Reformats the all list for enhanced readability
amp_rsl_rl/runners/amp_on_policy_runner.py Adds a function to update the W&B run name with a sequence number to replicate previous behavior
Comments suppressed due to low confidence (1)

amp_rsl_rl/runners/amp_on_policy_runner.py:257

  • The inline comment appears inconsistent; consider updating it to accurately reflect that the numeric suffix extracted from 'prefix564' should be '564'.
numeric_suffix = run.name[len(prefix):]  # e.g., from "prefix564", get "542"

@GiulioRomualdi
Copy link
Member Author

If leggedrobotics/rsl_rl#80 got merged, this is not required.

@GiulioRomualdi GiulioRomualdi merged commit 0748109 into main Apr 16, 2025
@GiulioRomualdi GiulioRomualdi deleted the rename_run branch April 16, 2025 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants