motional / nuplan-devkit

The devkit of the nuPlan dataset.
https://www.nuplan.org
Other
662 stars 126 forks source link

Error when run 'simple_planner' with challenge 'closed_loop_nonreactive_agents' and 'closed_loop_reactive_agents' #291

Closed piqiuni closed 1 year ago

piqiuni commented 1 year ago

Based on /tutorials/nuplan_framework.ipynb, we change the CHALLENGE in cfg from 'open_loop_boxes' to the others, but error occurred.

Errror Info:

InstantiationException: Error locating target 'nuplan.planning.metrics.evaluation_metrics.common.drivable_area_compliance.DrivableAreaComplianceStatistics', set env var HYDRA_FULL_ERROR=1 to see chained exception. full_key: simulation_metric.high_level.drivable_area_compliance_statistics

We want to know how to simulate the 'closed_loop_nonreactive_agents' and 'closed_loop_reactive_agents' ?

Thanks!

patk-motional commented 1 year ago

Hi @piqiuni,

It is probably easier to simpler to directly call the script directly from command line like so:

python nuplan_devkit/nuplan/planning/script/run_simulation.py +simulation=closed_loop_nonreactive_agents planner=simple_planner