计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
i-gan【效率与协作】Operate the legacy iGAN repository for interactive GAN image generation, constrained synthesis, image projection, model artifacts, and DCGAN training workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves the iGAN / Interactive GAN codebase for GAN-based image generation, visual manipulation on the image manifold, legacy Theano DCGAN models, PyQt4 interaction, constraint-map synthesis, latent projection, or training iGAN-style DCGAN artifacts.
This skill is intentionally self-contained: use the bundled references and helpers here instead of reopening the original README or shell scripts. The helpers are dry-run planners and validators by default; they do not download large artifacts, import Theano/PyQt4, train models, launch a GUI, or use a GPU.
| User task | Read this |
|---|---|
Download-plan a pretrained model, choose model zoo names, build random sample commands, or inspect dcgan_theano.Model facts | sub-skills/model-inference/SKILL.md |
| Generate images from color, mask, and edge constraints without the GUI | sub-skills/constraint-generation/SKILL.md |
| Launch or explain the interactive drawing UI, controls, shortcuts, ShadowDraw, or AverageExplorer | sub-skills/interactive-ui/SKILL.md |
Project an input image into latent space using cnn, opt, or cnn_opt solvers | sub-skills/image-projection/SKILL.md |
| Plan datasets, HDF5 creation, DCGAN training, batchnorm, predictor training, packing, or custom model configs | sub-skills/training-data/SKILL.md |
The repository does not publish package metadata for pip install; operate it
as a script checkout with repo-local modules. If a user asks for installation,
clone or unpack the iGAN source, stage workflow-specific artifacts, and prepare
only the legacy dependencies required by the chosen route. The minimal safe
verification command is the bundled preflight helper below, not a Theano import.
Read references/repo-provenance.md when deciding whether this skill matches the current checkout.
Run the checkout preflight helper before native execution:
python scripts/check_igan_checkout.py --repo-root <iGAN-checkout> --format text
If the task asks to run generation, UI, projection, or training, confirm that the user has explicitly supplied or authorized the legacy runtime, model/data artifacts, and hardware/display requirements listed below.
Use the nearest sub-skill helper to build a command or validate inputs before launching original heavy code.
The original repository is a legacy script-based project, not an installable Python package. Its native workflows assume a Python2-era stack with Theano, CUDA/cuDNN, OpenCV, PyQt4/qdarkstyle for the UI, Lasagne/SciPy/PIL for projection, and Fuel/h5py/tqdm for training/data preparation. Modern Python and modern CUDA hosts often need compatibility work. Do not treat static helper success as proof that native Theano execution works.
The bundled helpers are safe for planning and validation:
THEANO_FLAGS plans without executing them.When handing work back to a user or another agent, include the selected route, model/dataset/artifact names, command or validation plan, artifact status, whether any native command was actually run, the expected outputs, and remaining legacy runtime blockers. Never claim that downloads, GPU compilation, UI launch, training, or image generation occurred unless those commands were explicitly run and their outputs were checked.