Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the dataset path toTCP/config.py #26

Open
hting147 opened this issue Feb 23, 2023 · 9 comments
Open

Set the dataset path toTCP/config.py #26

hting147 opened this issue Feb 23, 2023 · 9 comments

Comments

@hting147
Copy link

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
Copy link
Collaborator

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
Copy link
Author

hting147 commented Feb 24, 2023

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
Copy link
Collaborator

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

@hting147
Copy link
Author

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
Copy link
Collaborator

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

@hting147
Copy link
Author

hting147 commented Feb 28, 2023

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
Copy link
Collaborator

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

@hting147
Copy link
Author

hting147 commented Mar 1, 2023

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants