dataset-ops
Move CVAT data between tasks, projects, dataset formats, manifests, backups, frames, and optional PyTorch dataset adapters.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- dataset-ops
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Move CVAT data between tasks, projects, dataset formats, manifests, backups, frames, and optional PyTorch dataset adapters.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/data-preparation.md4.6 KB
- 参考文档references/formats-and-data-flows.md4.8 KB
- 参考文档references/pytorch-datasets.md3.4 KB
- 参考文档references/troubleshooting.md2.4 KB
- 脚本scripts/manifest_command_builder.py2.2 KB
03 SKILL.md 正文
CVAT dataset operations
Use this sub-skill when the user asks how to import/export annotations or datasets, choose a CVAT-supported format, include or exclude images, prepare local/remote/share/cloud data sources, create dataset manifests, download frames, back up projects/tasks, convert source data before upload, or consume CVAT data through SDK/PyTorch dataset adapters.
Route first
- Read
references/formats-and-data-flows.mdto select formats and map import/export operations to CLI and SDK calls. - Read
references/data-preparation.mdfor local/remote/share/cloud inputs, manifests, DICOM-to-image preparation, frame extraction, and validation before upload. - Read
references/pytorch-datasets.mdforcvat_sdk.datasetsand optionalcvat_sdk.pytorchusage. - Read
references/troubleshooting.mdfor format/label/archive/image/mask/video-track/cache errors. - Use
scripts/manifest_command_builder.pyto generate safe dataset-manifest commands without depending on the original repository utility script.
Choose the interface
- Terminal automation: use
../cli-automation/SKILL.mdand its command builder. - Python automation: use
../sdk-automation/SKILL.mdfor task/project objects and import/export methods. - Model-assisted annotation: route to
../auto-annotation/SKILL.md. - Server storage, Docker, Helm, browser access, or deployment storage configuration: route to
../deployment-admin/SKILL.md.
Common task/project data commands
# Export task annotations only.
cvat-cli --profile prod task export-dataset --format "COCO 1.0" --with-images no 42 task-coco.zip
# Export task with images when a downstream tool needs complete data.
cvat-cli --profile prod task export-dataset --format "YOLO 1.1" --with-images yes 42 task-yolo.zip
# Import annotations into an existing task.
cvat-cli --profile prod task import-dataset --format "CVAT 1.1" 42 annotations.zip
# Create project tasks from a dataset archive.
cvat-cli --profile prod project import-dataset --format "Datumaro 1.0" 7 dataset.zip
# Back up for CVAT-to-CVAT restore.
cvat-cli --profile prod task backup 42 task-backup.zip
The Python SDK equivalents are Task.import_annotations(), Task.export_dataset(), Project.import_dataset(), Project.export_dataset(), download_backup(), and create_from_backup().
Format selection rules
- Use
CVAT 1.1/CVAT for images 1.1/CVAT for video 1.1for round-tripping CVAT annotations with maximum CVAT fidelity. - Use
COCO 1.0for common detection/segmentation pipelines with bounding boxes, polygons, masks, and categories. - Use
YOLO 1.1or Ultralytics YOLO variants for YOLO training pipelines; verify whether the task is detection, segmentation, pose, oriented boxes, or classification. - Use
Datumaro 1.0when interoperating with Datumaro-style conversion pipelines. - Use format-specific references for KITTI, MOT/MOTS, Pascal VOC, Open Images, Cityscapes, CamVid, ImageNet, LabelMe, WIDER Face, VGGFace2, LFW, ICDAR, Market-1501, and segmentation masks.
Always verify shape types, attributes, tracks, video support, and whether images are included before choosing a format.
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).