Closed atanas-kom closed 1 year ago
Hi @atanas-kom,
Open a new Terminal A and setup SMARTS
# In Terminal A
$ cd /path/SMARTS
# Delete any pre-existing virtual environments
$ python3.8 -m venv ./.venv
$ source ./.venv/bin/activate
$ pip install --upgrade pip wheel
$ pip install -e .[camera_obs]
To visualize in Envision
SMARTS/smarts/benchmark/driving_smarts/v0/config.yaml
and make the following change.
benchmark.shared_env_kwargs.headless: False
# In Terminal B
$ cd /path/SMARTS
$ source ./.venv/bin/activate
$ scl envision start
# Open http://localhost:8081/
Run a trained agent
# In Terminal A
$ cd /path/SMARTS
$ scl zoo install <agent path>
$ scl benchmark run driving_smarts==0.0 <agent_locator> --auto_install
Zoo agents
<agent_path>
and <agent_locator>
appropriately in the commands.
zoo.policies:control-and-supervised-learning-agent-v0
zoo/policies/control_and_supervised_learning
zoo.policies:discrete-soft-actor-critic-agent-v0
zoo/policies/discrete_soft_actor_critic
High Level Description
Hello, I am trying to run a benchmark on the 2022 NeurIPS Competition agents which were added to SMARTS. I followed all the instructions from the ReadTheDocs page and executed the following steps:
cd <path>/SMARTS
scl zoo install zoo/policies/interaction_aware_motion_prediction
scl benchmark run driving_smarts==0.0 zoo.policies:interaction-aware-motion-prediction-agent-v0 --auto-install
The installation comletes successfully but when runnung the benchmark I get the following error:
How can I resolve this? Thank you
Version
SMARTS 1.0.9 (latest)
Operating System
Ubuntu 20.04
Problems
No response