본문으로 건너뛰기
cccskills
무료GitHub에 공개

augmentor

Use Augmentor for Pillow-based image augmentation pipelines, operation selection, mask-safe augmentation, array/generator workflows, and package-specific troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(26)

  • SKILL.md5.4 KB
  • references/quickstart.md3.6 KB
  • references/repo-provenance.md1.7 KB
  • references/repo-routing-metadata.json319 B
  • references/troubleshooting.md4.3 KB
  • scripts/augmentor_env_smoke.py3.5 KB
  • sub-skills/generators-and-frameworks/references/api-reference.md8.4 KB
  • sub-skills/generators-and-frameworks/references/framework-integrations.md6.9 KB
  • sub-skills/generators-and-frameworks/references/troubleshooting.md5.2 KB
  • sub-skills/generators-and-frameworks/scripts/augmentor_generator_smoke.py9.2 KB
  • sub-skills/generators-and-frameworks/SKILL.md4.2 KB
  • sub-skills/masks-and-arrays/references/data-formats.md3.8 KB
  • sub-skills/masks-and-arrays/references/mask-workflows.md3.4 KB
  • sub-skills/masks-and-arrays/references/troubleshooting.md3.6 KB
  • sub-skills/masks-and-arrays/scripts/augmentor_mask_array_smoke.py2.2 KB
  • sub-skills/masks-and-arrays/SKILL.md2.7 KB
  • sub-skills/operation-reference/references/api-reference.md11.4 KB
  • sub-skills/operation-reference/references/operation-selection.md5.6 KB
  • sub-skills/operation-reference/references/troubleshooting.md7.2 KB
  • sub-skills/operation-reference/scripts/augmentor_operation_probe.py4.7 KB
  • sub-skills/operation-reference/SKILL.md2.3 KB
  • sub-skills/pipeline-augmentation/references/data-layouts.md3.4 KB
  • sub-skills/pipeline-augmentation/references/troubleshooting.md4.7 KB
  • sub-skills/pipeline-augmentation/references/workflows.md5.3 KB
  • sub-skills/pipeline-augmentation/scripts/augmentor_pipeline_disk_smoke.py4.1 KB
  • sub-skills/pipeline-augmentation/SKILL.md3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Augmentor Repo Skill

Use this skill when a task names Augmentor or asks for Augmentor-style image augmentation: stochastic Pipeline construction, Pillow/NumPy operations, class-folder scanning, generated image output, ground-truth/mask pairing, in-memory DataPipeline arrays, Keras-style batches, or torchvision transform callables.

Augmentor is a CPU/Pillow/NumPy package. It does not require CUDA, ROCm, MPS, Keras/TensorFlow, or torch/torchvision for core package workflows.

First checks

  1. Install the package in the task environment:

    pip install Augmentor
    

    For Augmentor 0.2.x compatibility-sensitive work, prefer:

    pip install 'Augmentor==0.2.12' 'Pillow<10' 'numpy<2' tqdm
    
  2. Verify the import:

    python -c "import Augmentor; print(Augmentor.__version__)"
    
  3. For a safe end-to-end check, run the bundled smoke helper:

    python scripts/augmentor_env_smoke.py --samples 2 --size 24
    
  4. If the task uses masks, framework generators, or optional pandas/torch/Keras integrations, route to the matching sub-skill before giving final code.

Route by task

User task or signalRead next
Create a Pipeline from a folder, scan class subfolders, write augmented files, choose sample() vs process(), control output directories, seeds, or multithreading.sub-skills/pipeline-augmentation/SKILL.md
Choose operations, fix probability/range errors, understand rotate/crop/zoom/skew/distortion/color operations, or write custom Operation subclasses.sub-skills/operation-reference/SKILL.md
Apply identical transforms to images and masks, use ground_truth(), verify matched filenames/classes/dimensions, or build grouped in-memory original+mask arrays.sub-skills/masks-and-arrays/SKILL.md
Use keras_generator, keras_generator_from_array, keras_preprocess_func, torch_transform, or DataFramePipeline; debug batch shapes or optional framework dependencies.sub-skills/generators-and-frameworks/SKILL.md
Diagnose install/import, Pillow/PIL, save-format, dependency, stochastic reproducibility, or optional dependency issues that span several workflows.references/troubleshooting.md
Check whether this skill matches a local Augmentor checkout or package version.references/repo-provenance.md

Minimal examples

Disk-backed augmentation

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.sample(100, multi_threaded=False)

Outputs are written under the source directory's output folder. If the source directory has immediate subdirectories, Augmentor treats those subdirectories as class labels. Read pipeline-augmentation before changing layouts or counting class outputs.

Mask-safe augmentation

import Augmentor

p = Augmentor.Pipeline("images")
p.ground_truth("masks")
p.rotate(probability=1.0, max_left_rotation=5, max_right_rotation=5)
p.sample(20)

Use masks-and-arrays to validate matched names, class subfolders, equal dimensions, and multiple masks per image.

Generator batches

import Augmentor

p = Augmentor.Pipeline("train_images")
g = p.keras_generator(batch_size=32, scaled=True, image_data_format="channels_last")
images, labels = next(g)

The direct Augmentor generator APIs return NumPy arrays and do not import Keras/TensorFlow. Read generators-and-frameworks before promising external framework behavior.

Compatibility caveats

  • Augmentor 0.2.x predates newer Pillow and NumPy APIs. For legacy behavior, Pillow<10 and numpy<2 are safer than latest-only installs.
  • DataFramePipeline is optional and legacy. This checkout's scan_dataframe() path failed with pandas 1.5.3 and 3.0.5 because it calls Categorical.get_values(). Prefer ordinary Pipeline or DataPipeline unless maintaining or patching Augmentor.
  • torch_transform() returns a PIL-image callable; torchvision is optional and only needed for torchvision.transforms.Compose or ToTensor().
  • Do not assert exact output filenames in tests or examples. Augmentor uses UUID filenames; assert counts, dimensions, formats, labels, and readable images.

Bundled references and scripts

  • references/quickstart.md gives a compact route map and common snippets.
  • references/troubleshooting.md covers cross-cutting install/import, dependency, save-format, optional dependency, and reproducibility issues.
  • references/repo-provenance.md records the source version and evidence baseline for refresh decisions.
  • references/repo-routing-metadata.json provides managed repo-skills-router metadata for import tooling.
  • scripts/augmentor_env_smoke.py runs a safe generated-fixture smoke check for the active Python environment.

Boundaries

Use this skill for using Augmentor as a package. For maintainer tasks that modify Augmentor source code, packaging, CI, or docs, combine this usage skill with a Python repository maintenance workflow and run focused source tests after editing.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고