motional / nuplan-devkit

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

hydra.errors.MissingConfigException: In 'default_simulation': Could not find 'splitter/nuplan' #250

Open pengzhenghao opened 1 year ago

pengzhenghao commented 1 year ago
 File "/home/zhenghao/anaconda3/envs/md/lib/python3.10/site-packages/hydra/_internal/defaults_list.py", line 773, in config_not_found_error
    raise MissingConfigException(
hydra.errors.MissingConfigException: In 'default_simulation': Could not find 'splitter/nuplan'
Config search path:
    provider=hydra, path=pkg://hydra.conf
    provider=main, path=file:///home/zhenghao/nuplan-devkit/nuplan/planning/script/config/simulation
    provider=hydra.searchpath in command-line, path=file://../../../nuplan-devkit/nuplan/planning/script/config/common
    provider=hydra.searchpath in command-line, path=file://../../../nuplan-devkit/nuplan/planning/script/experiments
    provider=schema, path=structured://

Hi there! I encounter the above issue when trying to run the code from nuplan planner tutorial. The jupyter notebook iteself works well. However my code is not working. Do you have any idea on this?

juanwulu commented 1 year ago

Hi there.

I have encountered similar issues before. My resolution was to replace any relative paths in my codebase with absolute paths.

Meanwhile, please check if you have the file nuplan.yaml under your directory file://../../../nuplan-devkit/nuplan/planning/script/config/common/splitter.