nicetoolbox.evaluation.data.discovery.ChunkWorkItem

class nicetoolbox.evaluation.data.discovery.ChunkWorkItem(dataset_name: str, session: str, sequence: str, component: str, algorithm: str, metric_type: str, pred_path: ~pathlib.Path, pred_data_key: str, annot_path: ~pathlib.Path | None, annot_data_key: str | None, pred_data_description_axis3: ~typing.List[str], pred_reconciliation_map: ~typing.Dict[str, ~typing.Tuple[int, ...]] = <factory>, gt_reconciliation_map: ~typing.Dict[str, ~typing.Tuple[int, ...]] = <factory>, frames: ~typing.List[~nicetoolbox.evaluation.data.discovery.FrameInfo] = <factory>)[source]

Bases: object

Represents a chunk of frames, typically from a single data array within a prediction file. This is the atomic unit of work for the Dataset iterator.

Methods

Attributes

dataset_name

session

sequence

component

algorithm

metric_type

pred_path

pred_data_key

annot_path

annot_data_key

pred_data_description_axis3

pred_reconciliation_map

gt_reconciliation_map

frames