界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

inference-evaluation

inference-evaluation

【效率与协作】Run checkpoint-backed LaneNet inference, TuSimple batch evaluation, and postprocess troubleshooting.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: inference-evaluation description: "Run checkpoint-backed LaneNet inference, TuSimple batch evaluation, and postprocess troubleshooting." metadata: disco-role: operating disable-model-invocation: true license: Apache 2.0

Inference and Evaluation

Use this sub-skill when the task is to run or debug LaneNet checkpoint inference, TuSimple-style batch evaluation, DBSCAN/lane-fit postprocessing, or output interpretation.

Route here for

  • Single-image inference from a TensorFlow checkpoint using the image preprocessing and restore behavior expected by LaneNet.
  • Batch inference/evaluation over a TuSimple test_set/clips image tree and saving overlay outputs.
  • Diagnosing empty or black lane masks, DBSCAN clustering failures, missing remap files, checkpoint restore mismatches, and headless plotting issues.
  • Understanding binary segmentation, instance embedding, clustered mask, fitted lane parameters, and saved overlay outputs.

Route elsewhere

  • Dataset conversion, list files, masks, or TFRecord generation: data-preparation.
  • Training, checkpoint creation, TensorBoard, or trainer configuration: training.
  • Frozen TensorFlow PB or MNN/mobile export: model-export.

Required context before acting

  1. Confirm the user has a LaneNet repo checkout or equivalent source tree with lanenet_model/, local_utils/, config/, and the remap file available from the run working directory.
  2. Confirm a TensorFlow 1.x-compatible Python environment. TensorFlow 1.15 with CUDA is verified for this skill; CPU can run inference/evaluation functionally but is slower.
  3. Confirm the checkpoint path. Pretrained weights are not bundled. The checkpoint argument should normally be the TensorFlow checkpoint base path, not the .index or .data-* shard.
  4. For custom images, ask whether TuSimple lane fitting is appropriate. If not, use --with_lane_fit 0 and inspect raw clustered masks before tuning fitted curves.

Bundled references and scripts

Operating rules

  • Do not imply pretrained weights ship with the skill or the repo checkout; obtain a checkpoint from training or a user-supplied pretrained download.
  • Prefer noninteractive saving in automation. Use display only when the environment has a working GUI and blocking windows are acceptable.
  • Keep inference/evaluation runs from the repository root or pass --repo_root to the bundled scripts so repo-relative config and remap loading resolve correctly.
  • For custom data, first validate preprocessing, checkpoint compatibility, and binary segmentation before changing DBSCAN or lane-fit settings.
我的收藏