인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

xingangpan-draggan

xingangpan-draggan

Guides DragGAN and StyleGAN-Human workflows for interactive point-based GAN editing, pretrained StyleGAN generation, human-image manipulation, and SHHQ training setup.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: xingangpan-draggan description: "Guides DragGAN and StyleGAN-Human workflows for interactive point-based GAN editing, pretrained StyleGAN generation, human-image manipulation, and SHHQ training setup." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

DragGAN Repo Skill

Use this skill when a task involves DragGAN, “Drag Your GAN”, point-based GAN editing, StyleGAN2/3 checkpoint manipulation, the DragGAN desktop/Gradio visualizer, or the bundled StyleGAN-Human workflows.

This is a router. Read the smallest sub-skill that matches the user request, then use the linked references and bundled helpers from that sub-skill.

First checks

  1. Confirm the user has or will prepare a local DragGAN checkout or equivalent source tree when they want to run repo scripts. This skill does not bundle the full DragGAN source code or pretrained weights.
  2. For runtime setup, read references/installation-and-assets.md.
  3. For environment diagnostics, run scripts/check_environment.py with --repo-root <DragGAN checkout> when a checkout is available.
  4. For checkpoint diagnostics shared by UI and generation, run scripts/check_model_assets.py against the checkpoint directory.
  5. To inspect the public checkpoint manifest without network access, run scripts/download_draggan_checkpoints.py; add --execute only after reviewing the destination, URLs, license, and disk budget.
  6. For source staleness, read references/repo-provenance.md.

Route by task

User requestRead next
Launch DragGAN, edit images by dragging points, use desktop GUI, use Gradio demo, debug masks/points/checkpoints in the visualizersub-skills/draggan-ui/SKILL.md
Generate images from StyleGAN2/3 pickles, convert legacy pickles, build generation/interpolation/style-mixing commands, reason about model filenames and seedssub-skills/stylegan-generation/SKILL.md
StyleGAN-Human alignment, background whitening, real-image inversion with PTI, clothing-length attribute editing, InsetGAN, or missing human-model assetssub-skills/stylegan-human-manipulation/SKILL.md
Train StyleGAN-Human SG2/SG3 on SHHQ or plan GPU/dataset/output settings for trainingsub-skills/stylegan-training/SKILL.md
Install/import/CUDA/OpenGL/Gradio/model-download problems not isolated to one workflowreferences/troubleshooting.md

Core runtime assumptions

  • DragGAN editing is GPU-oriented. CUDA is required for truthful validation of interactive drag optimization in the original workflow; CPU can only cover imports and some parser checks.
  • The top-level generation scripts can select CUDA, MPS, or CPU in PyTorch, but CPU generation is slow and not proof that the interactive editing path works.
  • Most pretrained model files are external .pkl checkpoints. This skill provides preflight and command helpers, not model downloads by default.
  • StyleGAN-Human alignment, PTI, editing, InsetGAN, and training require extra assets or large data that are intentionally preflighted before execution.
  • Outputs preserve the project’s “AI Generated” watermark behavior in the renderer; do not remove it from derived workflows.

Bundled root helpers

Important constraints

  • Do not run long training, large downloads, GUI servers, or optimization loops unless the user explicitly asks for execution and the required assets/hardware are present.
  • Prefer dry-run command builders and asset preflight helpers before launching a heavy workflow.
  • Do not route generic image-generation tasks here unless the task names DragGAN, StyleGAN2/3 pickles, StyleGAN-Human, point-based GAN editing, or matching repo-specific CLI/config errors.
저장한 Skills