Generators and frameworks

From VectorSpaceLab/AREX-Skill · View interactive version

Generators and frameworks is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use Augmentor generator APIs, array generators, framework preprocessing callables, torch-style transforms, and DataFramePipeline boundaries without making optional ML frameworks required.

How to use this skill

Skill file

Generators and framework integrations

Use this sub-skill when a task asks for Augmentor data generators, in-memory array batches, Keras/TensorFlow-style training integration, PyTorch/torchvision-style transforms, or DataFrame-backed image sources.

Route here for

Route away

Required operating facts

Bundled references and helper

Minimal decision checklist

  1. Identify the data source: disk pipeline, NumPy arrays, Keras preprocessing array stream, torch-style PIL transform, or pandas DataFrame.
  2. Pick the batch layout that matches the downstream model: channels_last or channels_first.
  3. Decide whether the model expects scaled float data (scaled=True) or raw pixel values (scaled=False).
  4. If pandas is requested, warn about the known Categorical.get_values() issue and prefer ordinary Pipeline/DataPipeline, pinning/patching, or maintaining a patched scan_dataframe.
  5. Run the bundled smoke helper in the target environment before integrating with a training loop.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.