fiftyone-dataset-export
БесплатноБез исполняемых скриптовНе проверенExports FiftyOne datasets to standard formats (COCO, YOLO, VOC, CVAT, CSV, etc.) and Hugging Face Hub. Use when converting datasets, exporting for training…
от voxel51★ 49 звёзд на GitHubОб этом скилле
Export FiftyOne Datasets
Key Directives
ALWAYS follow these rules:
1. Load and understand the dataset first
set_context(dataset_name="my-dataset")
dataset_summary(name="my-dataset")
2. Confirm export settings with user
Before exporting, present:
- Dataset name and sample count
- Available label fields and their types
- Proposed export format
- Export directory path
3. Match format to label types
Different formats support different label types:
| Format | Label Types |
|---|---|
| COCO | detections, segmentations, keypoints |
| YOLO (v4, v5) | detections |
| VOC | detections |
| CVAT | classifications, detections, polylines, keypoints |
| CSV | all (custom fields) |
| Image Classification Directory Tree | classification |
4. Use absolute paths
Always use absolute paths for export directories:
params={
"export_dir": {"absolute_path": "/path/to/export"}
}
5. Warn about overwriting
Check if export directory exists before exporting. If it does, ask user whether to overwrite.
Complete Workflow
Step 1: Load Dataset and Understand Content
# Set context
set_context(dataset_name="my-dataset")
# Get dataset summary to see fields and label types
dataset_summary(name="my-dataset")
Identify:
- Total sample count
- Media type (images, videos, point clouds)
- Available label fields and their types (Detections, Classifications, etc.)
Step 2: Get Export Operator Schema
# Discover export parameters dynamically
get_operator_schema(operator_uri="@voxel51/io/export_samples")
Step 3: Present Export Options to User
Before exporting, confirm with the user:
Dataset: my-dataset (5,000 samples)
Media type: image
Available label fields:
- ground_truth (Detections)
- predictions (Detections)
Export options:
- Format: COCO (recommended for detections)
- Export directory: /path/to/export
- Label field: ground_truth
Proceed with export?
Step 4: Execute Export
Export media and labels:
execute_operator(
operator_uri="@voxel51/io/export_samples",
params={
"export_type": "MEDIA_AND_LABELS",
"dataset_type": "COCO",
"export_dir": {"absolute_path": "/path/to/export"},
"label_field": "ground_truth"
}
)
Export labels only (no media copy):
execute_operator(
operator_uri="@voxel51/io/export_samples",
params={
"export_type": "LABELS_ONLY",
"dataset_type": "COCO",
"labels_path": {"absolute_path": "/path/to/labels.json"},
"label_field": "ground_truth"
}
)
Export media only (no labels):
execute_operator(
operator_uri="@voxel51/io/export_samples",
params={
"export_type": "MEDIA_ONLY",
"export_dir": {"absolute_path": "/path/to/media"}
}
)
Step 5: Verify Export
After export, verify the output:
ls -la /path/to/export
Report exported file count and structure to user.
Supported Export Formats
Detection Formats
| Format | dataset_type Value |
Label Types | Labels-Only |
|---|---|---|---|
| COCO | "COCO" |
detections, segmentations, keypoints | Yes |
| YOLOv4 | "YOLOv4" |
detections | Yes |
| YOLOv5 | "YOLOv5" |
detections | No |
| VOC | "VOC" |
detections | Yes |
| KITTI | "KITTI" |
detections | Yes |
| CVAT Image | "CVAT Image" |
classifications, detections, polylines, keypoints | Yes |
| CVAT Video | "CVAT Video" |
frame labels | Yes |
| TF Object Detection | "TF Object Detection" |
detections | No |
Classification Formats
| Format | dataset_type Value |
Media Type | Labels-Only |
|---|---|---|---|
| Image Classification Directory Tree | "Image Classification Directory Tree" |
image | No |
| Video Classification Directory Tree | "Video Classification Directory Tree" |
video | No |
| TF Image Classification | "TF Image Classification" |
image | No |
Segmentation Formats
| Format | dataset_type Value |
Label Types | Labels-Only |
|---|---|---|---|
| Image Segmentation | "Image Segmentation" |
segmentation | Yes |
General Formats
| Format | dataset_type Value |
Best For | Labels-Only |
|---|---|---|---|
| CSV | "CSV" |
Custom fields, spreadsheet analysis | Yes |
| GeoJSON | "GeoJSON" |
Geolocation data | Yes |
| FiftyOne Dataset | "FiftyOne Dataset" |
Full dataset backup with all metadata | Yes |
Note: Formats with "Labels-Only: No" require export_type: "MEDIA_AND_LABELS" (cannot export labels without media).
Export Type Options
export_type Value |
Description |
|---|---|
"MEDIA_AND_LABELS" |
Export both media files and labels |
"LABELS_ONLY" |
Export labels only (use labels_path instead of export_dir) |
"MEDIA_ONLY" |
E |
Установить fiftyone-dataset-export в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл fiftyone-dataset-export?
Exports FiftyOne datasets to standard formats (COCO, YOLO, VOC, CVAT, CSV, etc.) and Hugging Face Hub. Use when converting datasets, exporting for training, creating archives, sharing data in specific formats, or publishing datasets to Hugging Face.
Как установить скилл fiftyone-dataset-export?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fiftyone-dataset-export запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic