executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
keras-ganUse Keras-GAN legacy Keras/TensorFlow GAN scripts for image generation, image-to-image translation, inpainting, PixelDA, and SRGAN workflows with safe inspection and troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task involves the Keras-GAN repository: a stale but useful collection of standalone educational Keras implementations of generative adversarial networks. The repository is not an installable Python package; treat each model directory as a standalone script family and use the bundled helpers here to inspect, validate, or adapt it safely.
Do not launch the original scripts' __main__ defaults as routine checks. Many defaults run thousands of epochs, may download Keras datasets or external archives, and write relative images/ or saved_model/ outputs.
Read references/compatibility-and-install.md before running any Keras code. The scripts target legacy standalone Keras 2.x with TensorFlow 1.x behavior.
Run the bundled runtime checker when diagnosing an environment:
python scripts/check_legacy_runtime.py
python scripts/check_legacy_runtime.py --json
Use references/model-catalog.md to choose the right model family.
Route to the smallest focused sub-skill below.
Use references/troubleshooting.md for cross-cutting install/import, stale dependency, output-path, data-download, and long-training failures.
Read references/repo-provenance.md before deciding whether this skill is current for a checkout.
| User task or signal | Use |
|---|---|
| Vanilla GAN, DCGAN, CGAN, AC-GAN, SGAN, InfoGAN, LSGAN, BGAN, BiGAN, Adversarial Autoencoder, CoGAN, DualGAN, WGAN, or WGAN-GP on MNIST-style arrays | sub-skills/mnist-generators/SKILL.md |
| Compare GAN variants, inspect class APIs, run static inventory, or smoke-test representative model constructors without training | sub-skills/mnist-generators/SKILL.md |
CycleGAN, DiscoGAN, Pix2Pix, apple2orange, edges2shoes, facades, unpaired A/B domains, paired side-by-side image translation, PatchGAN label shapes | sub-skills/image-translation/SKILL.md |
| Validate image-translation dataset folders before training or adapting code | sub-skills/image-translation/scripts/check_dataset_layout.py via the image-translation sub-skill |
| CCGAN, ContextEncoder, context inpainting, CIFAR cats/dogs missing patches, PixelDA MNIST-to-MNIST-M adaptation, SRGAN 4x super-resolution, CelebA/VGG19 risk | sub-skills/domain-and-restoration/SKILL.md |
| Validate PixelDA cache files, SRGAN image directory, or restoration workflow output directories without importing Keras | sub-skills/domain-and-restoration/scripts/check_restoration_layout.py via the domain-and-restoration sub-skill |
images/, images/<dataset_name>/, and saved_model/.train(...).tf.keras, PyTorch GAN implementations, or production-grade training infrastructure rather than Keras-GAN's educational scripts.