Other

项目介绍

priest-yang/VADv2 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Other 许可证,目前获得 78 个 Star、7 次 Fork。

仓库全名
priest-yang/VADv2
开源许可证
Other
Star 数
78
Fork 数
7
未关闭 Issue
4

README 摘要

VADv2 Your browser does not support the video tag. Demo Model Framework Env Setup Train & Test Open-loop Eval Nuplan offers ruled-based tags for each driving scenario. We perform the test in various aspects and store each with multiple metircs. For the detail, check test/scenariotest. We include comparison results between VADv2 and VAD in this repo. Visualization Perception False Positive Cars (Click to see details)…

完整内容见 GitHub 原始 README 或本页 。

常见问题

VADv2 用什么语言开发?

主要使用 Python 编写,采用 Other 许可证,目前有 78 个 Star。

VADv2 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 VADv2 的源码?

可以直接克隆仓库:git clone https://github.com/priest-yang/VADv2.git,默认分支为 main;安装与运行步骤见仓库 README。

VADv2 最近还在维护吗?

仓库最近一次更新为 2025年3月15日,当前有 4 个未关闭 Issue;Star 数为 78,可作为社区活跃度的参考。

关于

VADv2: End-to-End Vectorized Autonomous Driving via Probabilistic Planning

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

C++
Cuda
Python
Shell

README

VADv2

description

Demo

Framework

Model Framework

Env Setup

Train & Test

Open-loop Eval

Nuplan offers ruled-based tags for each driving scenario. We perform the test in various aspects and store each with multiple metircs. For the detail, check test/scenario_test.

We include comparison results between VADv2 and VAD in this repo.

Visualization

Perception
False Positive Cars (Click to see details) Planner 1S L2 displacement
False Positive Pedestrian (Click to see details) Planner 1S L2 displacement
ADE Car (Click to see details) Planner 1S L2 displacement
ADE Pedestrian (Click to see details) Planner 1S L2 displacement
FDE Car (Click to see details) Planner 1S L2 displacement
FDE Pedestrian (Click to see details) Planner 1S L2 displacement
Planning
Planner 1S L2 displacement (Click to see details) Planner 1S L2 displacement
Planner 2S L2 displacement (Click to see details) Planner 2S L2 displacement
Planner 3S L2 displacement (Click to see details) Planner 3S L2 displacement
Planner 1S Object Box Collision (Click to see details) Planner 1S Object Box Collision
Planner 2S Object Box Collision (Click to see details) Planner 2S Object Box Collision
Planner 3S Object Box Collision (Click to see details) Planner 3S Object Box Collision

Tools

Convert Nuplan Map to Json Tools

To correctly obtain map evaluation results, you first need to extract the ground truth map information from the test set. You can use the following command:

python tools/convert_gt_map_json.py \
    --data_root Path/to/nuplan \
    --pkl_path Path/to/nuplan/test/pkl \
    --save_path eval_map.json

Where:

  • --data_root: Path to your nuplan dataset root directory
  • --pkl_path: Path to the test set PKL files
  • --save_path: Output path for the converted JSON file containing ground truth map information
sample data

The test sample data could be found at data/sample_data/sample_ann.pkl. A mini-mini-mini Dataset of Nuplan could be found at data/sample_data/nuplan. Which includes the camera data and map data.

Run scripts

python lwad/convert_gt_map_json.py \            
    --data_root data/sample_data/nuplan/dataset \
    --pkl_path data/sample_data/sample_ann.pkl \
    --save_path data/sample_data/eval_map.json

The sample .JSON file could be found at data/sample_data/eval_map.json

Comparison Visualization Tools

This tool is used to compare evaluation metrics between two experiments across different scenarios and generate intuitive comparison charts. The charts include:

  • Raw metric values for both experiments (bar charts)
  • Performance improvement percentages (line graphs)
Usage

Execute the following command in the project root directory:

python tools/scenarios_compare_vis.py \
    --dir_baseline='test/scenario_test/VAD_baseline' \
    --dir_exp='new_experiment_directory' \
    --save_image_dir='output_directory' \
Parameter Description
  • --dir_baseline: Directory path for baseline experiment results (containing evaluation_results.json for each scenario). Defaults to test/scenario_test/VAD_baseline_1013. Stored in git, containing scenario evaluation results from the first model delivery.
  • --dir_exp: Directory path for the experiment results to be compared (containing evaluation_results.json for each scenario)
  • --save_image_dir: Path to save the charts, defaults to test/scenario_compare
  • --eval_metrics: Names of metrics to compare, generates all supported metrics if not specified
  • --keyword: Keyword used to extract experiment names from paths, defaults to “VAD” for convenient legend labeling
Supported Evaluation Metrics

The tool supports comparison of the following metrics:

  • Trajectory prediction: ADE/FDE (vehicles/pedestrians)
  • Detection: Hit rate/False alarm rate (vehicles/pedestrians)
  • Planning: L2 distance (1s/2s/3s)
  • Collision: Object collision/Bounding box collision (1s/2s/3s)

Note: For certain metrics (such as L2 distance, collision metrics), lower values indicate better performance, and the improvement rate calculation is automatically inverted.

Output images will be saved in the specified save_image_dir directory with filename format {metric_name}_comparison.png.

Coming Soon

  • Add Traffic Light Detector, as well as comparison results.
  • Add Data converter and visualizer for Nuplan Dataset

Reference

评论

暂无评论