Skip to content

Add action_repeat argument to SB3 example script#251

Open
Ivan-267 wants to merge 3 commits intomainfrom
Ivan-267-sb3_example_add_action_repeat
Open

Add action_repeat argument to SB3 example script#251
Ivan-267 wants to merge 3 commits intomainfrom
Ivan-267-sb3_example_add_action_repeat

Conversation

@Ivan-267
Copy link
Copy Markdown
Collaborator

@Ivan-267 Ivan-267 commented Feb 3, 2026

Adds the action repeat option to the SB3 training example:

parser.add_argument(
    "--action_repeat",
    default=None,
    type=int,
    help="Similar concept to frame skip, sends action/gets obs every n frames only. Uses sync node setting if not set here.",
)

Useful for more quickly comparing different action repeat settings without changing it in Godot, but that option remains.
This argument already exists in the Python Godot env, this PR just adds it to the SB3 script.

@Ivan-267 Ivan-267 requested a review from edbeeching February 3, 2026 08:21
@Ivan-267 Ivan-267 added the enhancement New feature or request label Feb 3, 2026
@Ivan-267
Copy link
Copy Markdown
Collaborator Author

Ivan-267 commented Feb 3, 2026

Server has updated the style tool. I fixed the style errors, this should be ready to merge now.

@Ivan-267
Copy link
Copy Markdown
Collaborator Author

@edbeeching Can we merge this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant