算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
datasets-io-utils【设计与创意】Use this sub-skill when constructing torchvision datasets, validating dataset roots and downloads, wrapping datasets for transforms v2, decoding or encoding images with torchvision.io, or using torchvision.utils visualization helpers.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for data ingress and small visual checks in TorchVision workflows: built-in datasets, custom VisionDataset / ImageFolder / DatasetFolder code, safe data roots, wrap_dataset_for_transforms_v2, image decode/encode APIs, and torchvision.utils drawing helpers.
references/datasets-and-data-roots.md for built-in family selection, ImageFolder/DatasetFolder conventions, FakeData, and no-network smoke fixtures.wrap_dataset_for_transforms_v2 dataset support and target-shape expectations, then route transform pipeline internals to ../transforms-and-tv-tensors/.references/io-and-visualization.md for decode_image, read_file, encoders/writers, make_grid, draw_bounding_boxes, draw_segmentation_masks, draw_keypoints, and flow_to_image.references/troubleshooting.md for download races, root layout mistakes, image extension or codec failures, dtype/channel mistakes, video/TorchCodec migration, and visualization label/color errors.../models-and-weights/; this sub-skill only covers loading/decoding/visualizing data around those workflows.Run the bundled script when an agent needs to verify local TorchVision dataset, image IO, and utility surfaces without network access:
python sub-skills/datasets-io-utils/scripts/check_dataset_io.py
The script creates a temporary two-class ImageFolder fixture, uses FakeData, attempts torchvision.io PNG round-trip if the image extension is available, and exercises make_grid plus draw_bounding_boxes.
ImageFolder fixture, validate class discovery/order, attach a transform, and verify tensors without downloading real data.../transforms-and-tv-tensors/ for v2 pipelines, TVTensor metadata, bounding-box transform semantics, and dtype/range conversion details.../models-and-weights/ or ../ops-and-detection/ as appropriate.torchvision.io and TorchCodec migration guidance.