OpenDriveLab / ST-P3

[ECCV 2022] ST-P3, an end-to-end vision-based autonomous driving framework via spatial-temporal feature learning.
Apache License 2.0
280 stars 34 forks source link

questions regarding carla closed-loop simulation instructions #2

Open CharlesXu1124 opened 1 year ago

CharlesXu1124 commented 1 year ago

I am trying to evaluate the pretrained model inside carla simulator(0.9.10.1) using the transfuser repository, do I need to place the "carla_agent.py" script inside transfuser folder and test it in the same fashion for testing for "submission_agent", or do I need to change other arguments?

yuaoze commented 1 year ago

Hey, have you resolve the issue?

betbetliu commented 1 year ago

I changed those: "export TEAM_AGENT(carla_agent.py path ) and TEAM_CONFIG(carla.ckpt path) " in file local_evaluation.sh in transfuse repository and it worked.

betbetliu commented 1 year ago

I fogot one thing, you also need to add a planner.py in team_code folder. I got the planner.py in TCP model.

yuaoze commented 1 year ago

I changed those: "export TEAM_AGENT(carla_agent.py path ) and TEAM_CONFIG(carla.ckpt path) " in file local_evaluation.sh in transfuse repository and it worked.

thanks for your reply! I have tried and an error raised “leaderboard.autoagents.agent_wrapper_local.AgentError: shape '[196608, 3]' is invalid for input of size 967680". Is there anything I missed?