motional / nuplan-devkit

The devkit of the nuPlan dataset.
https://www.nuplan.org
Other
662 stars 126 forks source link

Some questions about docker submission of chanllenge. #295

Closed Greatsjk closed 1 year ago

Greatsjk commented 1 year ago

First, I don't know where to set the env variables NUPLAN_DATA_ROOT NUPLAN_MAPS_ROOT NUPLAN_EXP_ROOT. If I set them in .env It will influence the env variables in python files. So I only can set absolute path in docker-compose to simulate it. Does it influence the docker image running in your sever? Second, I have encountered the following error in the simulation, but I don't know how to solve it. I don't know where and how to set this env variable and it is not defaulting to a blank string. sendpix0

Third, I wonder how to make sure the submission is valid and how much data I need to simulate? If I simulate my planner successfully in docker only using one db file, can I make sure that my submission is valid?

patk-motional commented 1 year ago

Hi @Greatsjk,

Answering your questions in order:

  1. You can set this in your ~/.bashrc. a. No it will not influence running in our servers. We do not use your simulation image. We only take your submission image
  2. You can try exporting SCENARIO_FILTER_ID in nuplan-devkit/.env like so export SCENARIO_FILTER_ID=
  3. If you can successfully run docker-compose then you should have a valid submission.