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

albumentations

Build, debug, serialize, and integrate Albumentations 2.x augmentation pipelines for images, masks, bboxes, keypoints, volumes, and PyTorch-style datasets.

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

설치 방법 보기

포함된 파일(30)

  • SKILL.md4.7 KB
  • references/installation-and-maintenance.md2.1 KB
  • references/repo-provenance.md1.3 KB
  • references/repo-routing-metadata.json340 B
  • references/troubleshooting.md2.5 KB
  • scripts/albumentations_smoke_check.py1.4 KB
  • sub-skills/framework-integration/references/optional-dependencies.md3.5 KB
  • sub-skills/framework-integration/references/pytorch-integration.md5.9 KB
  • sub-skills/framework-integration/references/troubleshooting.md4.6 KB
  • sub-skills/framework-integration/scripts/pytorch_dataset_template.py4.8 KB
  • sub-skills/framework-integration/SKILL.md3.2 KB
  • sub-skills/pipeline-composition/references/composition-api.md10.7 KB
  • sub-skills/pipeline-composition/references/troubleshooting.md7.7 KB
  • sub-skills/pipeline-composition/scripts/check_pipeline_contract.py5.8 KB
  • sub-skills/pipeline-composition/SKILL.md2.7 KB
  • sub-skills/serialization-and-reproducibility/references/reproducibility.md4.9 KB
  • sub-skills/serialization-and-reproducibility/references/serialization-api.md6.0 KB
  • sub-skills/serialization-and-reproducibility/references/troubleshooting.md5.6 KB
  • sub-skills/serialization-and-reproducibility/scripts/roundtrip_pipeline.py2.5 KB
  • sub-skills/serialization-and-reproducibility/SKILL.md2.8 KB
  • sub-skills/targets-and-formats/references/data-formats.md8.9 KB
  • sub-skills/targets-and-formats/references/target-recipes.md8.2 KB
  • sub-skills/targets-and-formats/references/troubleshooting.md7.5 KB
  • sub-skills/targets-and-formats/scripts/validate_targets.py9.0 KB
  • sub-skills/targets-and-formats/SKILL.md3.1 KB
  • sub-skills/transform-catalog/references/recipes.md8.8 KB
  • sub-skills/transform-catalog/references/transform-reference.md13.9 KB
  • sub-skills/transform-catalog/references/troubleshooting.md7.4 KB
  • sub-skills/transform-catalog/scripts/transform_probe.py7.6 KB
  • sub-skills/transform-catalog/SKILL.md2.7 KB

SKILL.md(원문)

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

Albumentations Repo Skill

Use this skill when a coding agent needs to work with Albumentations 2.x augmentation pipelines, choose transforms, validate targets, serialize/replay pipelines, or integrate augmentations into PyTorch-style data loading.

Albumentations is a NumPy/OpenCV-based augmentation library for computer vision and medical-imaging workflows. This skill covers the MIT-licensed albumentations package at version 2.0.8. The upstream README states that the original Albumentations repository is no longer maintained and points users to AlbumentationsX for active development; keep that maintenance status in mind when recommending new dependencies or migrations.

Quick Start

For deterministic/offline agent checks, suppress the package's import-time update check:

NO_ALBUMENTATIONS_UPDATE=1 python - <<'PY'
import albumentations as A
print(A.__version__)
PY

Minimal image pipeline:

import albumentations as A

transform = A.Compose(
    [
        A.Resize(256, 256),
        A.HorizontalFlip(p=0.5),
        A.RandomBrightnessContrast(p=0.2),
    ],
    strict=True,
    seed=137,
)
result = transform(image=image_np)
augmented = result["image"]

Install the base package for NumPy/OpenCV augmentation:

pip install albumentations

Install optional integrations only when needed:

pip install "albumentations[pytorch]"  # ToTensorV2 / ToTensor3D
pip install "albumentations[hub]"      # Hugging Face Hub helpers
pip install "albumentations[text]"     # text rendering helpers

Route By Task

  • Use sub-skills/pipeline-composition/ to build or debug Compose, ReplayCompose, OneOf, SomeOf, RandomOrder, Sequential, OneOrOther, SelectiveChannelTransform, strict validation, additional targets, seeds, and pipeline operator edits.
  • Use sub-skills/transform-catalog/ to choose transform families and parameters for pixel/color/noise/blur, crop/resize/pad/geometric, dropout, domain adaptation, spectrogram, text, and segmentation-safe pipelines.
  • Use sub-skills/targets-and-formats/ to handle input/output keys, masks, bboxes, keypoints, labels, additional targets, multiple images, volumes, and 3D masks.
  • Use sub-skills/serialization-and-reproducibility/ to save/load JSON or YAML configs, replay exact random choices, inspect applied parameters, handle custom Lambda objects, and reason about reproducibility.
  • Use sub-skills/framework-integration/ for PyTorch-style Dataset integration, ToTensorV2, ToTensor3D, optional extras, tensor shapes, dtype/range expectations, and DataLoader worker seeding.

Shared References And Helpers

  • references/installation-and-maintenance.md: package version, Python/dependency expectations, optional extras, maintenance status, and import/update-check behavior.
  • references/troubleshooting.md: cross-cutting install/import, OpenCV, optional dependency, offline, validation, and migration troubleshooting.
  • references/repo-provenance.md: source snapshot, evidence paths, and refresh baseline for staleness checks.
  • scripts/albumentations_smoke_check.py: tiny safe import and pipeline smoke check for installed environments.

Common Decision Points

  • Keep images as NumPy arrays in H,W,C until a final framework tensor transform; route tensor issues to framework-integration.
  • Use strict=True while developing pipelines to catch unknown keys and invalid transform arguments early; route Compose-level validation to pipeline-composition.
  • Declare bbox_params and keypoint_params on Compose whenever calls include bboxes or keypoints; route coordinate issues to targets-and-formats.
  • For segmentation masks, prefer nearest-neighbor mask interpolation and explicit fill_mask; route transform support decisions to transform-catalog.
  • For reproducible debugging, use seed, ReplayCompose, or save_applied_params=True depending on whether you need repeatable streams, exact replay, or sampled-parameter inspection.
  • Do not assume optional PyTorch, Hub, or text helpers are available from a base install; check extras and imports first.

Safety And Self-Containment

This generated skill is self-contained. Runtime instructions, references, and helper scripts live inside this skill directory and do not require opening the original repository checkout. Treat original tests and source files as provenance evidence only; use the bundled sub-skills and helpers for future work.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고