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

filter_data #45

Open a1wj1 opened 11 months ago

a1wj1 commented 11 months ago

When running tools/filter_data.py, the path cannot be found: FileNotFoundError: [Errno 2] No such file or directory: 'routes_town05_long.json'

May I ask if this file will be generated when collecting data? I don't seem to have found the relevant generation code?

penghao-wu commented 11 months ago

It should correspond to the file specified by CHECKPOINT_ENDPOINT in the data_collection script.

noah-curran commented 11 months ago

@WPH-commit could you please clarify which file paths should be set to result_path and data_path in filter_data.py? Please provide an example. I have successfully generated data using routes_town01.xml with roach collection.

BTW, as a related note, it would be greatly appreciated if the documentation could be updated with more specific steps of what to do with these parameters during all steps. As the documentation current is, it has been a lot of trial and error to figure out what is to be filled where. I'd like to reproduce your results from start to finish.