opendilab / InterFuser

[CoRL 2022] InterFuser: Safety-Enhanced Autonomous Driving Using Interpretable Sensor Fusion Transformer
Apache License 2.0
514 stars 42 forks source link

[Clarification] Data Generation Question #72

Open naren200 opened 9 months ago

naren200 commented 9 months ago

title: "[Clarification] Data Generation Question" name: Data Generation Question about: Seek clarification on the data generation process labels: question

Description & Step-to-reproduce

Describe the Issue: Please describe your question or the issue you're facing regarding the data generation process. Be as specific as possible, and include any relevant code or documentation snippets.

For example: In the documentation, I found instructions for data generation in two sections:

1) Under "Run batch-run scripts of the town and route type that you need to collect," there is a command mentioned:

bash data_collection/batch_run/run_route_routes_town01_long.sh

2) In the section "Data Generation with a single CARLA Server," the following commands are mentioned:

carla/CarlaUE4.sh --world-port=2000 -opengl
./leaderboard/scripts/run_evaluation.sh

Context

Repository Link: Documentation where I found these instructions.

Screenshots & Expected Behavior

Environment

deepcs233 commented 9 months ago

Hi!

After running the (2) Data generation option. Is the data generation completed? Took less than a minute to generate, is that all?

You need to delete the results/sample_result.json. Because the generation code will resume the last collection, or you can set the flag of RESUME as False.

naren200 commented 9 months ago

Hey! Thank you for the quick reply. I did remove the file and re-ran the command. The command's expect /leaderboard/team_code/interfuser.pth.tar. I think it's successful. But, the .pth.tar file is something that needs to be created by running the training set, correct!? I ran the commands under 1) section above mentioned. Here, where will the saved checkpoints be created so, I can move it to /leaderboard/team_code/interfuser.pth.tar

Kindly, guide me through this issue. If you need more clarification or files, please feel free to ask.

image

Thanks

deepcs233 commented 9 months ago

Hi!

You may check this file: https://github.com/opendilab/InterFuser/blob/main/data_collection/base_script.sh#L17 If it is correct, you can check the term TEAM_AGENT in the sub-bash file o data_collection/batch_run/run_route_routes_town01_long.sh.

Here we only use the auto-poilt agent to collect the data, not the interfuser agent. So the interfuser.pth.tar is not needed when we collect the data.