library-integration

Implement image/video augmentation library transforms and register matrix specs.

95|3|Updated Oct 25, 2024
One-click install
npx skills add https://github.com/albumentations-team/benchmark --skill library-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: library-integration
Source: https://github.com/albumentations-team/benchmark/tree/main/.cursor/skills/library-integration
Command: npx skills add https://github.com/albumentations-team/benchmark --skill library-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides teams through adding support for new image/video augmentation libraries to the benchmark suite.

Core Features & Use Cases

  • Provide a repeatable process for integrating new libraries (transform implementation, requirements, and matrix registration)
  • Ensure compatibility by updating matrix specs and environment groups
  • Validate integration with tests and documentation updates

Quick Start

Create the library transform implementation, add the requirements file, and register the matrix mappings to enable benchmarking.

Frequently Asked Questions about library-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new image augmentation library to a benchmark suite?

To add a new image augmentation library to a benchmark suite, create a transform implementation file, add a corresponding requirements file, and register the matrix mappings and environment groups for benchmarking.

What files need to be created for image library integration testing?

Library integration testing requires creating a transform implementation at benchmark/transforms/{library}_impl.py, a matching requirements file, and registration updates in matrix.py to enable benchmarking.

How do I register new transforms in matrix specs for benchmarking?

To register new transforms in matrix specs for benchmarking, update the matrix.py file with the appropriate environment groups and mappings to ensure compatibility and enable the benchmark suite.

Do I need to update requirements when integrating a new video augmentation library?

Yes, updating requirements is necessary for video augmentation library integration. You must create a corresponding requirements file alongside the transform implementation to ensure the benchmark environment has the needed dependencies.

Can I validate new benchmark library integrations with tests and documentation?

Yes, you can validate new benchmark library integrations by adding optional tests and updating documentation. This ensures compatibility and provides a repeatable process for the newly integrated transforms.

What is the best way to ensure compatibility when adding augmentation libraries to benchmarks?

The best way to ensure compatibility when adding augmentation libraries to benchmarks is to update matrix specs and environment groups during integration, validating the setup with optional tests and documentation updates.