본문으로 건너뛰기
cccskills
무료GitHub에 공개

diffusion-planner

Use Diffusion Planner for nuPlan autonomous-driving trajectory generation: prepare model-ready data, train or resume the diffusion model, configure closed-loop planning, and add differentiable collision or classifier guidance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(27)

  • SKILL.md5.9 KB
  • references/repo-provenance.md2.0 KB
  • references/repo-routing-metadata.json456 B
  • references/troubleshooting.md3.8 KB
  • scripts/check_environment.py2.2 KB
  • sub-skills/closed-loop-planning/references/api-reference.md5.7 KB
  • sub-skills/closed-loop-planning/references/cli-reference.md7.8 KB
  • sub-skills/closed-loop-planning/references/troubleshooting.md5.9 KB
  • sub-skills/closed-loop-planning/references/workflows.md4.3 KB
  • sub-skills/closed-loop-planning/scripts/check_closed_loop_config.py9.3 KB
  • sub-skills/closed-loop-planning/SKILL.md7.2 KB
  • sub-skills/data-preparation/references/data-formats.md5.6 KB
  • sub-skills/data-preparation/references/troubleshooting.md5.8 KB
  • sub-skills/data-preparation/references/workflows.md7.9 KB
  • sub-skills/data-preparation/scripts/run_preprocessing.py4.7 KB
  • sub-skills/data-preparation/scripts/validate_preprocessed_data.py14.1 KB
  • sub-skills/data-preparation/SKILL.md4.6 KB
  • sub-skills/guidance/references/api-reference.md9.8 KB
  • sub-skills/guidance/references/troubleshooting.md8.8 KB
  • sub-skills/guidance/references/workflows.md7.1 KB
  • sub-skills/guidance/scripts/synthetic_guidance_smoke.py6.3 KB
  • sub-skills/guidance/SKILL.md4.6 KB
  • sub-skills/model-training/references/api-reference.md8.3 KB
  • sub-skills/model-training/references/troubleshooting.md5.9 KB
  • sub-skills/model-training/references/workflows.md6.4 KB
  • sub-skills/model-training/scripts/check_training_contract.py12.8 KB
  • sub-skills/model-training/SKILL.md8.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Diffusion Planner

Use this repo skill when a Researcher needs to operate the Diffusion Planner implementation for nuPlan autonomous-driving motion planning. It is a router, not a replacement for the nuPlan devkit or the external dataset/checkpoint artifacts.

Start here

  1. Identify the requested stage: data preparation, model training/resume, ordinary closed-loop planning, or custom/guided sampling.
  2. Confirm the environment and external inputs before starting an expensive operation. Full training, simulation, and guidance require a CUDA-capable PyTorch environment; real workflows also require nuPlan data/maps and, for inference, a matching args.json plus checkpoint.
  3. Run the owning sub-skill's bounded preflight before launching workers, downloading artifacts, or writing a long-running run directory.
  4. Preserve the exact model configuration, normalization file, manifest, split, checkpoint, device mapping, and first failure signal in the handoff.

Routes

  • data-preparation — convert nuPlan scenarios into fixed-size .npz records and a JSON filename manifest; validate feature axes, paths, and normalization.
  • model-training — validate the model/data contract, run bounded PyTorch checks, launch CUDA/DDP training, and resume checkpoints with EMA and optimizer-state caveats.
  • closed-loop-planning — configure DiffusionPlanner, trajectory sampling, checkpoint loading, scenario filters/builders, Ray simulation, and optional NuBoard inspection.
  • guidance — implement or debug differentiable custom guidance, collision energy, normalization/device handling, and guided simulation.

The usual dependency order is data-preparation → model-training → closed-loop-planning; guidance branches from a compatible planner/checkpoint and then returns to closed-loop-planning for execution.

Installation and environment gate

The source package metadata identifies distribution diffusion_planner at version 1.0.0 and targets Python 3.9. Install the repository package in the active environment, then install the CUDA-aware requirements selected for the workflow. The documented baseline pins PyTorch 2.0.0+cu118 and torchvision 0.15.1+cu118; use a compatible wheel rather than silently substituting a CPU build for a CUDA workflow. Install a matching nuPlan-devkit separately for scenario/map/simulation APIs.

For a checkout of the package, install the public distribution and the workflow-selected requirements in the active environment:

python -m pip install -e .
python -m pip install -r requirements_torch.txt

Install a compatible nuPlan-devkit separately for scenario, map, and simulation APIs. A minimal package import check is:

python -c "import torch, diffusion_planner; print(torch.__version__, torch.cuda.is_available())"

For full preflight, also import the owning modules and run the bundled checks linked by that sub-skill. Do not mutate a shared/base environment merely to repair optional dependencies. Keep external dataset, map, checkpoint, experiment-root, and credentials out of generated skill files and command transcripts intended for publication.

Shared operating rules

  • Treat args.json and a checkpoint as a pair. args.json supplies model dimensions and serialized normalizers; a .pth filename alone is not proof of compatibility.
  • Keep the model-ready manifest as relative .npz filenames under one data directory. Validate a small sample before DDP or scenario workers start.
  • Do not copy the repository's sudo, placeholder, private-interpreter, or eight-GPU shell invocations verbatim. Adapt them to the active environment, visible devices, and approved output paths.
  • A parser/import or synthetic tensor check is not a real training or closed-loop result. Report missing data, maps, checkpoints, Ray, or hardware as explicit gates.
  • Prefer a tiny, deterministic helper or preflight over an expensive native command. Stop on the first contract failure and route it to the owning sub-skill.
  • The implementation has source-backed quirks: the default device is CUDA, DDP floor-divides global batch size without checking divisibility, disabling EMA is not currently flag-only safe, and the scheduler name overstates its post-warmup behavior. Read the model-training references before adapting these paths.

Shared references

  • Read repository provenance before deciding whether this skill matches a checkout or needs refresh.
  • Read cross-cutting troubleshooting for installation/import, optional dependency, path/config, backend, checkpoint, and external-artifact failures.
  • Run the environment probe for a safe import, version, and CUDA diagnostic; it never downloads data or starts simulation.
  • Use the generated sub-skill references for API tables, schemas, command details, and difficult-case recovery. Review artifacts and verification reports belong outside this runtime tree.

Stop conditions

Stop and report instead of claiming success when the selected required backend cannot initialize, the package imports only through an unintended checkout, the manifest or normalization contract is invalid, checkpoint/config keys do not match, or external nuPlan data/maps/checkpoints are absent for a requested native run. This graph was generated from commit a3a621f; see provenance for the complete baseline and refresh signals.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고