Thinklab-SJTU/Bench2Drive

ModuleNotFoundError: No module named 'agents'

iuhiyuh opened this issue · 2 comments

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?

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

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?

在Bench2Drive/leaderboard/scripts/run_evaluation.sh中设置一下CARLA_ROOT~