nicetoolbox.detectors.data

Data module handling the data loading and processing of the give datasets.

Classes

Data

A data class for NICE toolbox input data validation and creation.

class nicetoolbox.detectors.data.Data(config: dict, io: IO, data_formats: list[str], all_camera_names: list[str], all_dataset_names: list[str])[source]

A data class for NICE toolbox input data validation and creation.

Initialize the Data class.

Parameters:
  • config (dict) – The configuration dictionary.

  • io (IO) – The IO object for file and folder operations.

  • data_formats (list) – The list of data formats required.

  • all_camera_names (list) – The list of all camera names.

Returns:

None

get_input_recipe() dict[source]

Generates the Recipe config to be injected into the subprocess TOML.