-
Notifications
You must be signed in to change notification settings - Fork 149
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
Can't load scenario using cached data? #117
Comments
Hello. For (1): When was the cache created? There was recently a change to add For (2): This is by design. |
Hello, Thank you for replying. For 1), I used the Nuplan-devkit 0.3 version of cache function, not use the latest version to generate the cache. And that might be the problem. For 2), when I loaded the precomputed cache, at https://github.com/motional/nuplan-devkit/blob/update-devkit-v0.4/nuplan/planning/script/builders/scenario_builder.py#L178, the scenarios use |
@mspryn-motional @patk-motional In the Nuplan-devkit 0.3 version, the cached data is loaded by the
That's why i'm confused here. Do I need to implement a new cached nuplanscenario class inherited from CachedScenario ?
|
The bug is similar as #128 |
Hi @Jeff09, Sorry for the late reply. Has this issue been resolved for you since the v1.0 release? |
Hi @patk-motional, Thank you for asking. The problem is still exist in the v1.0 release. The line will raise error when loading cache data.
|
Hi,
Thank you for such wonderful repo. I just found there might be issues when I use create_scenario_from_paths.py to load cached data.
First, at https://github.com/motional/nuplan-devkit/blob/update-devkit-v0.4/nuplan/planning/script/builders/scenario_builder.py#L179, the log_name seems to path.parent.name not path.parent.parent.name.
Second, when using CachedScenario class, it'll also have some NotImplementedError coming out. It looks like it should use NuplanScenario class.
Thank you for your replies.
The text was updated successfully, but these errors were encountered: