技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
part-segmentation-workflows【数据与研究】ShapeNetPart part-segmentation training, evaluation, inference, data layout, and one-hot command workflow guidance for the pointnet2 repository.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user asks about ShapeNetPart object part segmentation in this PointNet++ repository: training on the official ShapeNetPart normal dataset, evaluating a checkpoint, choosing the one-hot category-conditioned variant, or adapting the legacy single-category visualization path.
part_seg/train.py with model pointnet2_part_seg; evaluate an existing checkpoint with part_seg/evaluate.py. Start with references/workflows.md.part_seg/train_one_hot.py with model pointnet2_part_seg_msg_one_hot; the dataset must return a per-shape category label in addition to per-point part labels. Start with references/workflows.md.part_seg/test.py as a legacy reference, not a reliable drop-in script, because it has a ROOT_DIR bug and stale dataset/model assumptions. Start with references/workflows.md.synsetoffset2category.txt, train_test_split/*.json, and category folders matching the intended loader. See references/data-formats.md.evaluate.py; the source evaluator only builds the plain model interface.pointnet_sa_module, pointnet_sa_module_msg, and pointnet_fp_module. CPU-only validation is enough for data/command checks, but native model execution is a legacy CUDA/custom-op path.test.py needs patching before use; do not present it as a verified runnable script. See references/troubleshooting.md.points/points_label layouts, split JSON membership, empty selected splits, and basic label/column schema.This sub-skill distills repository evidence from the README, part_seg/command*.sh, part_seg/train*.py, part_seg/evaluate.py, part_seg/test.py, part_seg/part_dataset*.py, and the two pointnet2_part_seg* model definitions. It intentionally does not copy the raw trainers because they are Python-2-era, checkpoint/data/GPU heavy, and contain repo-relative assumptions. Workflow-specific failure modes are in references/troubleshooting.md; data contracts are in references/data-formats.md.