Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running "python train.py algo=ppo task=Payload/PayloadTrack headless=true wandb.entity=atahirkarasahin-xxxx" #84

Open
atahirkarasahin opened this issue Jul 27, 2024 · 0 comments

Comments

@atahirkarasahin
Copy link

Hi there, I hope it finds you well.
I'm using isaac-sim-2023.1.0-hotfix.1. I followed through your instructions on Installation and successfully came to "Running the RL Scripts". I can run python train.py task=Hover headless=true and see results on wandb.

However, I can‘t run python "python train.py algo=ppo task=Payload/PayloadTrack headless=true wandb.entity=atahirkarasahin-xxxx". The error message is:

Error executing job with overrides: ['algo=ppo', 'task=Payload/PayloadTrack', 'headless=true', 'wandb.entity=atahirkarasahin-xxxxxxx]
Traceback (most recent call last):
File "/home/taka/OmniDrones/scripts_paper/train.py", line 292, in
main()
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/main.py", line 94, in decorated_main
_run_hydra(
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/_internal/utils.py", line 394, in _run_hydra
_run_app(
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/_internal/utils.py", line 457, in _run_app
run_and_report(
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/_internal/utils.py", line 223, in run_and_report
raise ex
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/_internal/utils.py", line 220, in run_and_report
return func()
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/_internal/utils.py", line 458, in
lambda: hydra.run(
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/_internal/hydra.py", line 132, in run
_ = ret.return_value
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/core/utils.py", line 260, in return_value
raise self._return_value
File "/home/taka/miniconda3/envs/omnisim/lib/python3.10/site-packages/hydra/core/utils.py", line 186, in run_job
ret.return_value = task_function(task_cfg)
File "/home/taka/OmniDrones/scripts_paper/train.py", line 159, in main
policy = algos[cfg.algo.name.lower()](cfg.algo, agent_spec=agent_spec, device="cuda")
KeyError: 'ppo'

Can you help me with it? My second question is follow: I want to running payload track benchmarking. Which commend this proceed started?

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

No branches or pull requests

1 participant