算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
sliced-inference【设计与创意】Guide SAHI standard and sliced prediction APIs, CLI commands, slicing choices, batching, exports, progress callbacks, and video visualization.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to build or debug SAHI prediction calls: AutoDetectionModel, get_prediction, get_sliced_prediction, high-level predict, predict-fiftyone, sahi predict, folder or video inference, slicing parameters, progress reporting, batching, and prediction export routing.
Do not use it as the owner for detector-specific installation or weights. Route those questions to ../model-integrations/SKILL.md. Route COCO conversion/evaluation to ../dataset-tools/SKILL.md, postprocess backend internals to ../postprocess-backends/SKILL.md, and result object serialization details to ../annotations-and-results/SKILL.md.
get_prediction for one standard full-image call.get_sliced_prediction for one image with tiles and optional standard+slice aggregation.predict / sahi predict for files, folders, videos, and automatic exports.predict-fiftyone for interactive FiftyOne review when that optional dependency is installed.slice_height, slice_width, overlap, batching, progress, and duplicate handling with Slicing parameters.From this sub-skill directory, run:
python scripts/sliced_prediction_smoke.py --mode sliced --slice-size 128 --batch-size 2
The smoke script constructs a deterministic in-memory DetectionModel subclass, creates a synthetic image, exercises the selected prediction path, asserts expected result structure, and prints success. It does not download weights, contact a network service, train a model, or write outputs by default.
model_type, installed optional backend packages, and accessible local weights or model objects; this sub-skill only shows how those model objects are used by prediction APIs.../dataset-tools/SKILL.md.../postprocess-backends/SKILL.md.