det3d
Guide Det3D PyTorch 3D object-detection workflows across configuration, KITTI/nuScenes/Lyft data preparation, GPU training and evaluation, custom CUDA operations, and visualization.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- det3d
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Guide Det3D PyTorch 3D object-detection workflows across configuration, KITTI/nuScenes/Lyft data preparation, GPU training and evaluation, custom CUDA operations, and visualization.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/compatibility.md1.0 KB
- 参考文档references/repo-provenance.md1.1 KB
- 参考文档references/repo-routing-metadata.json489 B
- 参考文档references/troubleshooting.md1.4 KB
- 脚本scripts/check_skill_tree.py1.6 KB
03 SKILL.md 正文
Det3D
Det3D is a legacy PyTorch toolbox for point-cloud 3D object detection. Use this
skill when a task names Det3D, det3d, PointPillars, SECOND, VoxelNet, CBGS,
KITTI/nuScenes/Lyft configs, point-cloud voxelization, or its tools/train.py
and tools/test.py workflows.
First route
- Identify the target dataset/version, model family, config, checkpoint, and whether the request is inspection, data preparation, training, evaluation, or visualization.
- Read compatibility.md and troubleshooting.md before installing or changing dependencies.
- Run the read-only runtime diagnostic when imports or GPU behavior are uncertain.
- Choose one focused route:
| Request signal | Read |
|---|---|
| Python configs, registries, PointPillars/SECOND/VoxelNet, anchors, model components | configuration-and-models |
| KITTI, nuScenes, Lyft roots, info/db files, sweeps, transforms, voxel/data validation | datasets-and-preprocessing |
| train/test CLI, checkpoints, resume, metrics, distributed/NCCL launch | training-and-evaluation |
install/import, CUDA/C++ extensions, spconv, ABI/toolkit, backend diagnostics |
runtime-ops |
| BEV/LiDAR/KITTI display, logs, FLOPs, headless rendering, result inspection | visualization-and-analysis |
Cross-route tasks should keep one owner: configuration owns model structure; data owns source schemas and conversion; training owns job/result lifecycle; runtime owns environment/backend diagnosis; visualization owns display/artifact interpretation.
Public prerequisites
The source project documents Linux, Python 3.6+, PyTorch 1.1–1.6, CUDA 10.0/10.1,
CMake >=3.13.2, a compatible historical spconv, and dataset SDKs. Treat
these as versioned legacy constraints. A modern PyTorch/CUDA installation may
import some utilities while remaining incompatible with the custom extensions
or sparse-convolution model path. Det3D training/evaluation is documented as
GPU-only; CPU import is not a CPU training fallback.
Install in an isolated environment, select a torch/CUDA/toolkit/spconv
combination as a unit, then build extensions against that exact environment.
Install only the dataset and visualization extras needed by the selected route.
Do not download datasets/checkpoints or launch training implicitly.
Minimal checks
python -c "import det3d; print(det3d.__version__)"
python sub-skills/runtime-ops/scripts/check_runtime.py
python sub-skills/datasets-and-preprocessing/scripts/validate_dataset_layout.py DATA_ROOT --dataset kitti
python sub-skills/training-and-evaluation/scripts/plan_launch.py test CONFIG --checkpoint CHECKPOINT
The last two helpers are non-mutating; the dataset checker returns nonzero when
required directories are absent, and the launch planner never starts a job.
For config-only inspection use sub-skills/configuration-and-models/scripts/inspect_config.py.
Boundaries and safety
- Use user-provided paths for data, configs, checkpoints, and work directories.
- Treat
create_data, training, evaluation, distributed launch, extension builds, and interactive visualization as side-effectful or hardware-bound. - Do not claim an old model-zoo score is reproduced without matching dataset split, preprocessing, evaluator, checkpoint, and dependency versions.
- Do not point future agents to the original checkout's scripts or notebooks; the linked references and helpers are the self-contained replacements.
Read repo-provenance.md when deciding whether this graph is stale relative to a different Det3D checkout.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).