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
pipeline-augmentationDirectory-backed Augmentor Pipeline workflows for folder scanning, class-aware disk augmentation, output control, sampling, status, seeding, and threading.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is a directory-backed Augmentor.Pipeline workflow: scan image folders, interpret class subfolders, add pipeline-level operations, write augmented samples to disk, process every image once, set output save formats, inspect status, set seeds, or decide whether to disable multithreading.
Operation subclasses, route to operation-reference.masks-and-arrays.generators-and-frameworks.Augmentor.Pipeline(source_directory=None, output_directory="output", save_format=None).sample(n, multi_threaded=True) writes n sampled augmented images; process() processes every image once and internally uses sample(0, multi_threaded=True).set_save_format(save_format) accepts formats understood by Pillow; pass "auto" to return to per-input extension behavior.status() prints operation/image/class/dimension/format status; set_seed(seed) seeds Python random and NumPy random state.add_further_directory(new_source_directory, new_output_directory="output") reruns the same population path for another source directory; inspect status() after calling before assuming what images are active.ImageUtilities.scan() ignores the configured output directory and treats immediate source subdirectories as class labels.import Augmentor
p = Augmentor.Pipeline("train_images", output_directory="output")
p.rotate(probability=0.7, max_left_rotation=10, max_right_rotation=10)
p.flip_left_right(probability=0.5)
p.resize(probability=1.0, width=224, height=224)
p.set_save_format("PNG")
p.set_seed(123)
p.sample(500, multi_threaded=False) # deterministic transform order is easiest single-threaded
Use p.process() when each source image should be processed once, usually with every required operation set to probability=1. If exact single-threaded execution matters, prefer p.sample(0, multi_threaded=False).
sample() versus process(), add_further_directory(), and per-class augmentation strategy.