Closed Mr-ChenSH closed 3 months ago
Could you please modify the issue title to make it concise? For you problem, please make sure you set this correctly https://github.com/OpenDriveLab/TCP/blob/9ec4db0f0424801cdd607f1de930290830c5e88e/leaderboard/scripts/data_collection.sh#L2.
Traceback (most recent call last):
File "/home/cybersec/TCP-main/leaderboard/leaderboard/leaderboard_evaluator.py", line 34, in
export CARLA_ROOT=/home/cybersec/Work/Docker/carla/share/PythonAPI/carla Even after adding it, there is still an error message
The structure of your carla directory looks a bit weird. Why is there a share
directory? I think in your case, you need to set CARLA_ROOT
to /home/cybersec/Work/Docker/carla/share
sorry, I have already resolved this error
Traceback (most recent call last): File "/home/cybersec/TCP-main/leaderboard/leaderboard/leaderboard_evaluator.py", line 350, in _load_and_run_scenario self._load_and_wait_for_world(args, config.town, config.ego_vehicles) File "/home/cybersec/TCP-main/leaderboard/leaderboard/leaderboard_evaluator.py", line 232, in _load_and_wait_for_world self.traffic_manager.set_synchronous_mode(False) AttributeError: 'LeaderboardEvaluator' object has no attribute 'traffic_manager'
Registering the route statistics But another new error has occurred
But another new error has occurred
Please check whether traffic_manager
is successfully set here https://github.com/OpenDriveLab/TCP/blob/9ec4db0f0424801cdd607f1de930290830c5e88e/leaderboard/leaderboard/leaderboard_evaluator.py#L111
It's here, I haven't made any changes
I mean you can debug a little bit here to see whether it is successfully setup here in your case or it goes to the except
branch.
Can I run eval directly after running the train
I encountered this issue while running eval
Have you modified the code? The line 5 in TCP/model.py
should be https://github.com/OpenDriveLab/TCP/blob/9ec4db0f0424801cdd607f1de930290830c5e88e/TCP/model.py#L5
yes,I modified it
The current mistake is as follows:
Please first try the original code without your modifications to see whether it works.
Why is it automatically interrupted at this point during verification? It has already been run five times
I think it is related to your network issue.
I downloaded it online, but now I'm encountering this issue. Do I need to include the dataset in the project during verification
There is no dataset in this project
You don't need dataset for evaluation. Make sure you strictly follow the readme for the installation of carla and this repo.
I have completed it, thank you very much!
run sh leaderboard/scripts/data_collection.sh encounter this problem