技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
dataset-preparation【数据与研究】Converts and merges Luminoth object-detection datasets, validates source layouts, and explains TFRecord and classes.json outputs.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to turn raw object-detection data into the TFRecord format that Luminoth consumes, or when several TFRecord files need to be merged into a single dataset.
lumi dataset transform planning and troubleshooting.lumi dataset merge planning and troubleshooting.coco, csv, flat, imagenet, openimages,
pascal, or taggerine.--only-classes, --only-images,
--limit-examples, or --class-examples.classes.json file and TFRecord/SequenceExample
output layout.Read references/workflows.md for the transform and merge command shapes.
Read references/data-formats.md when you need to map a source dataset type to a directory layout or annotation schema.
Run the bundled layout checker before writing a transform command:
python scripts/validate_dataset_layout.py --type pascal --data-dir ./data --split train
If the task is a merge-only request, confirm that all source files are already TFRecords and then use the merge workflow reference.
If the task mixes dataset conversion with training, route the training part to the sibling sub-skill instead of keeping everything here.
lumi dataset transform --type pascal --data-dir ./data --output-dir ./out --split train
lumi dataset transform --type csv --data-dir ./data --output-dir ./out --split train --override headers=false --override columns=image_id,xmin,ymin,xmax,ymax,label
lumi dataset transform --type coco --data-dir ./data --output-dir ./out --split train --split val --only-classes=car,truck,bus
lumi dataset merge ./a/train.tfrecords ./b/train.tfrecords ./merged/train.tfrecords
classes.json generation alongside each TFRecord split.--override.Keep answers concrete: name the reader, the required split names, the source files or directories that must exist, the output files that will be created, and the exact flag names that matter.
When in doubt, use the bundled references and the layout checker before specifying a command.