Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

anomalib-tiled-ensemble

Skill by open-edge-platform

Runs and configures the anomalib tiled-ensemble pipeline, which trains and evaluates one model per image tile and merges results for high-resolution anomaly detection.

  • Score 89
  • 6.4k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install anomalib-tiled-ensemble

Built from the published package, never by AI.

git clone --depth 1 https://github.com/open-edge-platform/anomalib /tmp/anomalib && mkdir -p ~/.claude/skills && cp -r /tmp/anomalib/.agents/skills/anomalib-tiled-ensemble ~/.claude/skills/anomalib-tiled-ensemble

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install anomalib-tiled-ensemble in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill covers the anomalib tiled-ensemble pipeline. It splits each image into overlapping tiles, trains and evaluates a separate model instance for each tile position, then merges the tile predictions into a full-image anomaly map, with optional seam smoothing. The pipeline code lives in src/anomalib/pipelines/tiled_ensemble, and train.py and eval.py entry points are driven by a YAML config.

It is intended for high-resolution images where a single model cannot see fine detail at a manageable input size. It also helps users who want to train with image tiling or tune tile size, stride and seam smoothing settings. The skill points users to anomalib-training for regular single-model training and to anomalib-benchmarking for the multi-model benchmarking pipeline.

Written from the project's SKILL.md and checked against it.

What it can do

  • Train tiled ensembleRun train.py with a config to train per-tile models, with evaluation after training.
  • Re-run evaluationUse eval.py with --root to evaluate an existing results directory without retraining.
  • Configure tilingSet image_size, tile_size and stride to control the tile geometry.
  • Seam smoothingApply Gaussian blending at tile boundaries using sigma and width settings.
  • Choose datamodule and modelSet data.class_path and TrainModels.model.class_path in the config.
  • Config review checklistSelf-check items for tile sizes, class paths, seam smoothing and the eval root path.

What you need

  • anomalib repository with the tiled_ensemble pipeline and tools/tiled_ensemble configs
  • CUDA device for accelerator set to cuda (optional)
  • Local dataset such as MVTecAD at the path set in the config

Try asking

  • Train an anomalib tiled ensemble on MVTecAD bottle with 128 pixel tiles
  • Tune tile_size and stride for my high-resolution anomaly dataset
  • Re-run evaluation on my existing tiled ensemble results directory

Good to know

  • Video and depth datamodules are not supported.
  • Tile models must be standard image models that only require batch.image.
  • One model is trained per tile position, so training cost scales with the number of tiles.
  • data.init_args must include val_split_mode and test_split_mode or a KeyError is raised.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/anomalib-tiled-ensemble/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • evals/evals.json3 KB

Alternatives to anomalib-tiled-ensemble

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

anomalib-tiled-ensemble: common questions

When should I use the tiled ensemble instead of regular training?

Use it for high-resolution images where a single model cannot see fine detail at a manageable input size. Regular single-model training is covered by anomalib-training.

What does seam smoothing do?

When SeamSmoothing.apply is True, it applies Gaussian blending at tile boundaries. It is most useful when tiles overlap, meaning stride is less than tile_size.

Can I use video or depth datamodules with the tiled ensemble?

No. The source says video and depth datamodules are not supported because the tiled collater uses ImageBatch.collate internally.

How do I install anomalib-tiled-ensemble?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is anomalib-tiled-ensemble free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is anomalib-tiled-ensemble safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to anomalib-tiled-ensemble?

Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.

anomalib-tiled-ensemble Install

Add to stack

Loading.