fiftyone-dataset-inference
使用推論建立 FiftyOne 資料集
載入本地媒體檔案到 FiftyOne 並執行 ML 模型推論需要了解資料集建立、標籤匯入和模型應用。此技能提供逐步指導,協助建立資料集、匯入標準格式的標籤,以及針對偵測、分類和分割任務套用 zoo 模型。
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「fiftyone-dataset-inference」。 Create a dataset from my_images folder and run YOLOv8 detection
預期結果:
- Dataset 'my_images' created with 150 samples
- Media imported successfully from /path/to/my_images
- Model 'yolov8n-coco-torch' applied with label field 'predictions'
- Results: 1,247 detections across 150 images
- Average confidence: 0.73
- Run set_view(exists=['predictions']) to filter samples with detections
正在使用「fiftyone-dataset-inference」。 Import my COCO dataset and compare ground truth with predictions
預期結果:
- COCO dataset 'coco-data' imported with 500 samples
- Ground truth field 'ground_truth' contains 2,340 annotations
- Model 'faster-rcnn-resnet50-fpn-coco-torch' applied
- Predictions field 'predictions' contains 3,120 detections
- Use FiftyOne App to compare ground truth vs predictions
安全審計
安全Pure documentation skill containing only markdown workflow instructions. No executable code, no file access operations, no network operations. All functionality is delegated to legitimate MCP tools (@voxel51/io, @voxel51/zoo, @voxel51/utils) with transparent parameter passing. Static findings are pattern matching false positives on documentation text.
風險因素
⚙️ 外部命令 (97)
品質評分
你能建構什麼
載入圖片並偵測物體
從圖片目錄建立資料集,並使用 YOLOv8 或 Faster R-CNN 進行物體偵測
匯入 COCO 資料集
匯入現有的 COCO 格式資料集,並加入模型預測以與真實標籤比較
YOLO 資料集評估
匯入 YOLOv5 資料集格式,並使用 FiftyOne 視覺化評估模型效能
試試這些提示
Use the fiftyone-dataset-inference skill to create a dataset from /path/to/images. Load only media files, no labels. Name the dataset my-images. Then apply faster-rcnn-resnet50-fpn-coco-torch model for object detection.
Use the fiftyone-dataset-inference skill to import a COCO dataset from /path/to/images and /path/to/annotations.json. Create dataset called coco-dataset with ground_truth field. Then apply yolov8n-coco-torch for predictions.
Use the fiftyone-dataset-inference skill to create an image classification dataset from /path/to/dataset. The structure is folder-per-class (cats/, dogs/). Name the dataset classification-dataset with ground_truth field.
Use the fiftyone-dataset-inference skill to create a dataset called test-set from /path/to/images. Apply clip-vit-base32-torch model for embeddings. Launch the app to visualize results.
最佳實務
- 匯入前先探索目錄,偵測媒體類型和標籤格式
- 建立資料集前先與使用者確認資料集名稱和標籤欄位設定
- 當模型失敗時檢查缺少的相依性,並提議安裝必要的套件
避免
- 跳過目錄探索,在不知道格式的情況下嘗試匯入
- 未與使用者確認設定就建立資料集
- 忽略模型應用失敗時的相依性錯誤