界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

image-generation

image-generation

【开发与工程】Guides OFA text-to-image generation, VQGAN code conversion, CLIP ranking, and image-generation validation.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: image-generation description: "Guides OFA text-to-image generation, VQGAN code conversion, CLIP ranking, and image-generation validation." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

image-generation

Use this sub-skill when a user wants to run OFA text-to-image generation, inspect VQGAN code inputs, or reason about the image-generation evaluation stack.

Trigger phrases

  • "Generate images with OFA"
  • "VQGAN code conversion"
  • "How do I validate image-generation TSVs?"
  • "What do the FID / IS helpers need?"
  • "Why does image generation need CLIP and VQGAN checkpoints?"

What this sub-skill owns

  • text-to-image generation,
  • code-token TSV layout and validation,
  • VQGAN code extraction / code sequence handling,
  • CLIP and generated-image scoring notes,
  • FID / IS caveats and output layout.

What it excludes

  • caption / VQA / RefCOCO / OCR / ImageNet -> vision-language-tasks,
  • generic diffusion or LoRA workflows outside OFA,
  • pretraining -> pretraining,
  • setup and launch mechanics -> setup-and-command-building.

Read these files

Typical workflow

  1. Validate the image-generation TSV.
  2. Confirm the VQGAN and CLIP checkpoints.
  3. Choose whether you are generating codes or generating final images.
  4. Only then launch the GPU workflow and compute metrics on a sufficiently large sample.

Notes

  • The code sequence is part of the data contract; a valid caption alone is not enough.
  • FID and IS are not meaningful on tiny samples.
  • A generation checkpoint usually depends on both the CLIP and VQGAN assets.
我的收藏