[Question] train.py: error: unrecognized arguments: --/app/livestream/allowResize=false #3074
-
QuestionMain demand: I want to run webrtc when training the robots. I run this scripts below env setting:
output: And I notice that this error may due to to And I try successfully run. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Thank you for posting this. It doesn't seem the |
Beta Was this translation helpful? Give feedback.
-
|
It looks like there is an issue with some scripts after introducing hydra. For example: 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_launcher = AppLauncher(args_cli)
simulation_app = app_launcher.app
# Filter out AppLauncher-injected args before Hydra sees them
sys.argv = [sys.argv[0]] + [arg for arg in hydra_args if not arg.startswith("--/")]
... |
Beta Was this translation helpful? Give feedback.
-
|
@tlaguz Thanks,it work for me ! |
Beta Was this translation helpful? Give feedback.
It looks like there is an issue with some scripts after introducing hydra. For example:
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:
injects
--/app/livestream/allowResize=falseargument intosys.argv. Adding this filtering after the line in which AppLauncher is created solves the issue: