技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-preparation【数据与研究】Prepare, inspect, and troubleshoot MMOCR dataset conversion and data layouts for text detection, recognition, spotting, and KIE.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about OCR dataset preparation rather than model training, inference, or low-level data-sample internals. It covers MMOCR annotation schemas, dataset-zoo metadata, task-specific conversion choices, recognition LMDB handling, generated dataset configs, and safe preflight checks.
Read data formats and datasets
to choose between textdet, textrecog, textspotting, and kie and to
verify the annotation shape expected by MMOCR.
Run the bundled no-download preflight before any conversion or training:
python scripts/mmocr_dataset_preflight.py --list
python scripts/mmocr_dataset_preflight.py --dataset icdar2015 --task textdet
Pass --dataset-zoo-path <dataset_zoo> when checking a project-local or
private dataset-zoo directory.
Read data preparation workflows before planning official dataset preparation, private dataset-zoo entries, LMDB recognition data, generated config placement, or visualization.
Read troubleshooting when a dataset/task is unsupported, a converter wants network access, split selection is wrong, configs are not overwritten, images/annotations do not resolve, LMDB loading fails, text encodings are broken, KIE labels are inconsistent, or a dataset browser has no display.
--task textdet, textrecog, textspotting, or kie for a public
or private OCR dataset.data_list, img_path, bbox,
polygon, text, ignore, and metainfo fields.data_root, data_prefix, ann_file, and pipeline loader
interactions before training/evaluation.scripts/mmocr_dataset_preflight.py is the safe default. It only
reads metadata or tiny annotations and never downloads datasets.