tuPlan Garage 项目使用教程

tuPlan Garage 项目使用教程

tuplan_garage [CoRL'23] Parting with Misconceptions about Learning-based Vehicle Motion Planning tuplan_garage 项目地址: https://gitcode.com/gh_mirrors/tu/tuplan_garage

1. 项目目录结构及介绍

tuPlan Garage 项目的目录结构如下:

tuplan_garage/
├── assets/
├── scripts/
│   ├── training/
│   └── simulation/
├── tuplan_garage/
│   ├── flake8/
│   ├── gitignore/
│   ├── isort.cfg/
│   ├── pre-commit-config.yaml/
│   ├── CONTRIBUTING.md
│   ├── LICENSE
│   ├── README.md
│   ├── requirements.txt
│   └── setup.py

目录介绍:

  • assets/: 存放项目相关的资源文件,如图片、视频等。
  • scripts/: 包含项目的脚本文件,分为 training/simulation/ 两个子目录,分别用于训练和仿真。
  • tuplan_garage/: 项目的主要代码目录,包含配置文件、依赖文件、贡献指南、许可证、README文件等。

2. 项目的启动文件介绍

tuPlan Garage 项目的启动文件主要位于 scripts/ 目录下。以下是一些关键的启动文件:

  • scripts/training/: 包含用于训练模型的脚本文件。
  • scripts/simulation/: 包含用于仿真和评估的脚本文件。

示例启动命令:

python $NUPLAN_DEVKIT_ROOT/nuplan/planning/script/run_simulation.py \
    +simulation=closed_loop_nonreactive_agents \
    planner=pdm_closed_planner \
    scenario_filter=val14_split \
    scenario_builder=nuplan \
    hydra.searchpath="[pkg://tuplan_garage.planning.script.config.common, pkg://tuplan_garage.planning.script.config.simulation, pkg://nuplan.planning.script.config.common, pkg://nuplan.planning.script.experiments]"

3. 项目的配置文件介绍

tuPlan Garage 项目的配置文件主要位于 tuplan_garage/ 目录下。以下是一些关键的配置文件:

  • flake8/: 包含 Flake8 代码风格检查的配置文件。
  • gitignore/: 包含 Git 忽略文件的配置。
  • isort.cfg/: 包含 isort 代码排序工具的配置文件。
  • pre-commit-config.yaml/: 包含 pre-commit 钩子的配置文件。
  • CONTRIBUTING.md: 贡献指南文件。
  • LICENSE: 项目许可证文件。
  • README.md: 项目介绍和使用说明文件。
  • requirements.txt: 项目依赖文件。
  • setup.py: 项目安装脚本。

配置文件示例:

# pre-commit-config.yaml
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.4.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-yaml
      - id: check-added-large-files

通过以上配置文件,可以确保项目的代码风格一致性、依赖管理以及项目的基本信息。

tuplan_garage [CoRL'23] Parting with Misconceptions about Learning-based Vehicle Motion Planning tuplan_garage 项目地址: https://gitcode.com/gh_mirrors/tu/tuplan_garage

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

农爱宜

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值