Thinklab-SJTU / Bench2Drive

Closed-loop multi-ability evaluation of end-to-end autonomous driving algorithms
Apache License 2.0
440 stars 27 forks source link

ModuleNotFoundError: No module named 'agents' #12

Closed iuhiyuh closed 2 weeks ago

iuhiyuh commented 3 weeks ago

Hi, i follow this EVAL Doc
but in Bench2Drive/scenario_runner/srunner/scenariomanager/carla_data_provider.py line 22, raise an error:

from agents.navigation.global_route_planner import GlobalRoutePlanner
ModuleNotFoundError: No module named 'agents'

Do i need to rebuild the bench2drivezoo or something else?

jayyoung0802 commented 3 weeks ago

Hi, you need to set PYTHONPATH and SCENARIO_RUNNER_ROOT, just like run_evaluation.sh