计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
python-api【效率与协作】Routes DragGAN scripting tasks such as loading checkpoints, generating latents and images, and running the drag optimization loop from Python.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about draggan.draggan or draggan.utils: loading a model, generating a W latent, synthesizing an image, preparing points, or writing a script around the drag loop.
../../scripts/check_install.py --mode apireferences/api-reference.md for the verified function signatures and return shapes.references/workflows.md for a minimal scripted generation or drag loop.../../references/checkpoints.md if you need checkpoint names or cache behavior.references/troubleshooting.md if the tensor or device setup is failing.load_model().generate_W().generate_image().drag_gan() and point tracking.draggan.utils.[y, x] tensors on the same device as the model.mask parameter is accepted by the current drag loop signature but is not enforced by the current implementation.class_idx; unconditional checkpoints ignore it.references/api-reference.md for the verified signatures and shape notes.references/workflows.md for copyable Python recipes.references/troubleshooting.md for device, point-order, and mask mistakes.../../references/checkpoints.md for checkpoint names and the cache root.