Batch Assignment
Overview
The Batch Assignment Plugin automatically assigns assets to batches based on configurable rules such as batch size, assignment strategy, and naming conventions. It enables users to efficiently organize large datasets into manageable groups, streamlining workflows for labeling, review, and processing stages.
Batch Assignment
Custom Batch Assignment
Plugin Functionality
The Batch Assignment Plugin processes project assets and assigns them to batches according to the provided configuration.
Creates batches and assigns assets to batches automatically based on the provided configuration.
Sorts assets using the specified field before assignment to ensure deterministic and reproducible batch structures across multiple runs.
Generates batch names dynamically using the configured prefix, separator, and indexing logic, allowing flexible and standardized naming conventions.
Enables efficient organization and management of large datasets by structuring assets into clearly defined and scalable batches.
This functionality helps maintain structured and scalable batch organization, especially for large annotation projects.

Example Configurations
Configuration-1: Sequential Assignment
Before Execution:
After Execution:
Configuration-2: Sequential Assignment with a Different Batch Size
Before Execution:
After Execution:
Configuration-3: Random Assignment
Before Execution:
After Execution:
Supported Data Types
Compatible with all data types available in AngoHub.
Supported Annotation Tools
Compatible with all annotation tools available in AngoHub.
Plugin Configuration
You may vary a number of settings related to your export from the Config JSON field. Each option is detailed below:
"assignment_type": Determines how assets are distributed into batches.
Options:
"Sequential"
"Random"
Example:
"assignment_type": "Sequential"
"batch_size": Specifies the number of assets to include in each batch.
Example:
"batch_size": 100
"sort_assets": Defines the sorting method to apply before batching.
Options:
"Default"
"external_id"
"asset_id"
Example:
"sort_assets": "external_id"
"batch_name_prefix": Sets a prefix to include at the beginning of each batch name.
Example:
"batch_name_prefix": "Batch"
"batch_name_seperator": Defines the character or symbol used to separate the batch name prefix and number.
Example:
"batch_name_seperator": "-"
"batch_name_add_zeros": Determines whether batch numbers should include leading zeros for consistent naming.
Example:
"batch_name_add_zeros": true
"batch_name_add_zeros": false
Last updated

