인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
데이터 및 연구 · SKILL.md

imagenet_c_corruption_protocol

imagenet_c_corruption_protocol

Apply ImageNet-C-style common image corruptions with five severity levels and reproducible metadata for robustness experiments.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: imagenet_c_corruption_protocol description: Apply ImageNet-C-style common image corruptions with five severity levels and reproducible metadata for robustness experiments.

ImageNet-C Corruption Protocol

Use this skill when a task needs a bounded, reproducible version of the ImageNet-C corruption protocol for arrays or lightweight image fixtures. Do not use it for adversarial perturbations, training-time augmentation claims, or full ImageNet-C scoring unless the real ImageNet-C assets are available.

Inputs

  • Image-like numeric arrays shaped as height x width x channels with values in [0, 1].
  • corruption: one of gaussian_noise, shot_noise, defocus_blur, brightness, contrast, pixelate, or jpeg_compression_proxy.
  • severity: integer from 1 to 5.
  • Optional integer seed for stochastic corruptions.

Outputs

  • Corrupted image with the same shape and value range.
  • Metadata containing corruption name, severity, seed, and distortion summaries.

Workflow

  1. Validate shape, severity, and corruption name.
  2. Map the severity to a fixed distortion strength.
  3. Apply the corruption without changing labels.
  4. Clip the result into [0, 1] and preserve shape.
  5. Record distortion metadata for downstream mechanism checks.

Validation

Run:

python tests/test_corruption_protocol.py

Limitations

This skill is mechanism-faithful for reduced recovery but is not a byte-identical implementation of every ImageNet-C corruption. Full benchmark claims require the official ImageNet-C data or exact generation pipeline.

저장한 Skills