Skip to content

[Question] train.py: error: unrecognized arguments: --/app/livestream/allowResize=false #3074

Answered by tlaguz
Beat-in-our-hearts asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like there is an issue with some scripts after introducing hydra. For example:

LIVESTREAM=2 ./isaaclab.sh -p scripts/tutorials/00_sim/launch_app.py --size 0.5
LIVESTREAM=2 ./isaaclab.sh -p scripts/reinforcement_learning/sb3/train.py --task Isaac-Ant-v0 --headless

The first command works, while the second fails. The key difference is that the second script uses Hydra for argument parsing, while the first does not.

It seems that this line:

app_launcher = AppLauncher(args_cli)

injects --/app/livestream/allowResize=false argument into sys.argv. Adding this filtering after the line in which AppLauncher is created solves the issue:

...
app_launcher = AppLauncher(args_cli)
simulation_app 

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by RandomOakForest
Comment options

You must be logged in to vote
1 reply
@Viru97
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #2729 on August 01, 2025 14:59.