算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
visual_prompt_templates【设计与创意】Create and validate task-level pixel visual prompt templates for frozen vision model adaptation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when implementing the input-transformation half of visual prompting from the paper Exploring Visual Prompts for Adapting Large-Scale Models. It is appropriate when a frozen vision model should receive the same learned pixel pattern for every downstream image. Do not use it to create per-example adversarial examples or to update model weights.
C x H x W nested list or array-like object.padding, fixed_patch, or random_patch.padding for paper-faithful CLIP experiments. The paper uses padding size 30 as the default for 224x224 inputs, but reduced experiments may use smaller sizes.Run python tests/test_visual_prompt_templates.py or validate the whole skill tree with the Paper2Skills validate_skill_tree.py --run-tests command.
This skill does not train the prompt and does not implement CLIP text-label scoring. Pair it with output-transformation and prompt-training skills.