Skip to content

在进行 Cache dataset 时遇见了问题 #30

@GrootLiu

Description

@GrootLiu

报错:

Error executing job with overrides: ['agent=diffusiondrivev2_rl_agent', 'experiment_name=diffusiondrivev2_cache', 'train_test_split=navtrain']
Traceback (most recent call last):
  File "/data/DiffusionDriveV2/navsim/planning/script/run_dataset_caching.py", line 77, in main
    scene_loader = SceneLoader(
TypeError: SceneLoader.__init__() missing 1 required positional argument: 'synthetic_scenes_path'

环境变量如下:

export NUPLAN_MAP_VERSION="nuplan-maps-v1.0"
export NUPLAN_MAPS_ROOT="$HOME/navsim_workspace/dataset/maps"
export NAVSIM_EXP_ROOT="$HOME/navsim_workspace/exp"
export NAVSIM_DEVKIT_ROOT="$HOME/navsim_workspace/navsim"
export OPENSCENE_DATA_ROOT="$HOME/navsim_workspace/dataset"
oot@rdtest-node2649:/data/DiffusionDriveV2/navsim# pip show navsim
Name: navsim
Version: 2.0.0
Summary: NAVSIM: Data-Driven Non-Reactive Autonomous Vehicle Simulation and Benchmarking
Home-page: https://github.com/autonomousvision/navsim
Author: University of Tuebingen
Author-email: kashyap.chitta@uni-tuebingen.de
License: apache-2.0
Location: /root/miniconda/envs/python310_torch25_cuda/lib/python3.10/site-packages
Editable project location: /root/navsim_workspace/navsim
Requires: aioboto3, aiofiles, bokeh, casadi, control, Fiona, geopandas, guppy3, hydra-core, joblib, matplotlib, nest_asyncio, notebook, nuplan-devkit, opencv-python, pandas, Pillow, positional-encodings, protobuf, psutil, pyarrow, pyinstrument, pyogrio, pyquaternion, pytest, pytorch-lightning, rasterio, ray, retry, rtree, scikit-learn, scipy, selenium, Shapely, SQLAlchemy, sympy, tensorboard, timm, tornado, tqdm, ujson
Required-by: 

这是否是 navsim 的版本不对引起的?
但是需要安装什么版本的 navsim 呢?文档中好像没有说明,请指正。

我的操作步骤是:

  1. 进入 https://github.com/autonomousvision/navsim/blob/main/docs/install.md 安装其操作完成 navsim 环境的安装
  2. 进入 https://github.com/hustvl/DiffusionDriveV2/blob/master/docs/install.md 安装 DiffusionDriveV2 环境
  3. Cache Dataset
    我感觉文档里面写的有点乱啊,导致我不确定我的步骤哪里不对,请大家帮帮忙!

Error Message:

Error executing job with overrides: ['agent=diffusiondrivev2_rl_agent', 'experiment_name=diffusiondrivev2_cache', 'train_test_split=navtrain']
Traceback (most recent call last):
  File "/data/DiffusionDriveV2/navsim/planning/script/run_dataset_caching.py", line 77, in main
    scene_loader = SceneLoader(
TypeError: SceneLoader.__init__() missing 1 required positional argument: 'synthetic_scenes_path'

Environment Variables:

export NUPLAN_MAP_VERSION="nuplan-maps-v1.0"
export NUPLAN_MAPS_ROOT="$HOME/navsim_workspace/dataset/maps"
export NAVSIM_EXP_ROOT="$HOME/navsim_workspace/exp"
export NAVSIM_DEVKIT_ROOT="$HOME/navsim_workspace/navsim"
export OPENSCENE_DATA_ROOT="$HOME/navsim_workspace/dataset"

Package Info:

    NAVSIM Version: 2.0.0 (Installed as an editable project from /root/navsim_workspace/navsim)

Question: Is this caused by an incorrect version of NAVSIM? The documentation doesn't seem to specify which version is required. Please advise.

My Steps:

  1. Followed NAVSIM Installation.
  2. Followed DiffusionDriveV2 Installation.
  3. Attempted Dataset Caching. The documentation feels a bit disorganized, and I'm unsure where I went wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions