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
image-stylizationGuides Fast Style Transfer evaluate.py still-image and image-directory checkpoint inference, input validation, dimensions, device choices, and output troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user has a trained Fast Style Transfer checkpoint and wants to apply it to one image or a directory of images with the bundled image stylization runtime, or when they need to debug checkpoint, image dimensions, output paths, device strings, batch size, or image IO behavior.
transform.py module, and the bundled utils.py module.Use this route for requests like:
.ckpt path?"Route away when:
Single image:
python sub-skills/image-stylization/scripts/run_image_stylization.py \
--checkpoint checkpoints/udnie \
--in-path content/stata.jpg \
--out-path outputs/stata_udnie.jpg \
--device /cpu:0 \
--batch-size 1
Directory of same-size images:
mkdir -p outputs/batch
python sub-skills/image-stylization/scripts/run_image_stylization.py \
--checkpoint checkpoints/udnie \
--in-path content/batch \
--out-path outputs/batch \
--device /gpu:0 \
--batch-size 4
Directory with mixed dimensions:
python sub-skills/image-stylization/scripts/run_image_stylization.py \
--checkpoint checkpoints/udnie \
--in-path content/mixed \
--out-path outputs/mixed \
--allow-different-dimensions
Preflight with the bundled helper:
python sub-skills/image-stylization/scripts/validate_image_stylization_inputs.py \
--checkpoint checkpoints/udnie \
--in-path content/mixed \
--out-path outputs/mixed \
--allow-different-dimensions
--in-path as either a file or a directory.--in-path is a file and --out-path is an existing directory, output uses the input basename inside that directory.--in-path is a directory, output paths are formed by joining --out-path with each top-level filename from the input directory.--allow-different-dimensions, directory mode assumes all images have the same shape as the first image.--allow-different-dimensions, the script groups images by shape and processes each shape group separately./gpu:0, but ffwd_to_img defaults to /cpu:0; choose explicitly.The bundled helper does not restore checkpoints or run the transform network. It cannot prove visual correctness, checkpoint compatibility, or TensorFlow GPU execution. It is designed to catch path, dimension, and option issues before a costly run.