ST-P3 icon indicating copy to clipboard operation
ST-P3 copied to clipboard

questions regarding carla closed-loop simulation instructions

Open CharlesXu1124 opened this issue 3 years ago • 4 comments

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?

CharlesXu1124 avatar Aug 03 '22 20:08 CharlesXu1124

Hey, have you resolve the issue?

yuaoze avatar Nov 20 '22 14:11 yuaoze

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 avatar Nov 22 '22 06:11 betbetliu

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

betbetliu avatar Nov 22 '22 07:11 betbetliu

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?

yuaoze avatar Nov 23 '22 01:11 yuaoze