OpenDriveLab / TCP

[NeurIPS 2022] Trajectory-guided Control Prediction for End-to-end Autonomous Driving: A Simple yet Strong Baseline.
Apache License 2.0
309 stars 40 forks source link

Set the dataset path to``TCP/config.py`` #26

Open hting147 opened 1 year ago

hting147 commented 1 year ago

Sorry for the qusetion, I have downloaded all the datasets from Baidu. But I do not know how to set the dataset path in TCP/config.py. I am using window os. Thank you

penghao-wu commented 1 year ago

Hi, could you please try to unzip the tcp_carla_data_split.zip? And other files should be automatically unzipped as well. Then you can set the dataset path to the path of the unzipped folder.

hting147 commented 1 year ago

yes, I have unzipped all the dataset folders, but I could not find a way to set the path to the unzipped folder. Is it use notepad to set the path to the dataset folder and i do not know any command to set the path, or is there another way? thank you for the response

penghao-wu commented 1 year ago

Sorry for the possible confusion. "Setting the path" means setting the root_dir_all variable in the config.py file.

hting147 commented 1 year ago

So do I need to add anything or a command in the config.py file? sorry for my stupid question, it is because this is my first time using Carla. Thank you for your patience

penghao-wu commented 1 year ago

You just need to change the root_dir_all = "tcp_carla_data" to your actual unzipped data directory.

hting147 commented 1 year ago

Thank you , and other question About cd CARLA_ROOT the system said it could not find the path to export So i could not do anything about ./CarlaUE4.sh --world-port=2000 -opengl How could i do to fix this problem? Thank you

penghao-wu commented 1 year ago

Hi, you should replace CARLA_ROOT with the actual path to your Carla directory

hting147 commented 1 year ago

ok, I have opened the carla.exe, but i do not have any response after writing any command such as sh leaderboard/scripts/data_collection.sh. Is it need to open another cmd screen to write any command? thank you

penghao-wu commented 1 year ago

could you provide the terminal output after you run sh leaderboard/scripts/data_collection.sh?